Atmel Evaluation Kit AT91SAM9X35-EK AT91SAM9X35-EK Data Sheet

Product codes
AT91SAM9X35-EK
Page of 1301
902
SAM9X35 [DATASHEET]
11055E–ATARM–10-Mar-2014
41.9.5 CAN Status Register
Name:
CAN_SR
Address:
0xF8000010 (0), 0xF8004010 (1)
Access:
Read-only
• MBx: Mailbox x Event
0: No event occurred on Mailbox x. 
1: An event occurred on Mailbox x.
An event corresponds to MRDY, MABT fields in the CAN_MSRx register.
• ERRA: Error Active Mode
0: CAN controller has not reached Error Active Mode since the last read of CAN_SR.
1: CAN controller has reached Error Active Mode since the last read of CAN_SR.
This flag is automatically cleared by reading CAN_SR register.
This flag is set depending on TEC and REC counter values. It is set when a node is neither in Error Passive Mode nor in Bus Off 
Mode.
• WARN: Warning Limit
0: CAN controller Warning Limit has not been reached since the last read of CAN_SR.
1: CAN controller Warning Limit has been reached since the last read of CAN_SR.
This flag is automatically cleared by reading CAN_SR register.
This flag is set depending on TEC and REC counter values. It is set when at least one of the counter values has reached a value 
greater or equal to 96.
• ERRP: Error Passive Mode
0: CAN controller has not reached Error Passive Mode since the last read of CAN_SR.
1: CAN controller has reached Error Passive Mode since the last read of CAN_SR.
This flag is set depending on TEC and REC counters values.
This flag is automatically cleared by reading CAN_SR register.
A node is in error passive state when TEC counter is greater or equal to 128 (decimal) or when the REC counter is greater or 
equal to 128 (decimal).
• BOFF: Bus Off Mode
0: CAN controller has not reached Bus Off Mode.
1: CAN controller has reached Bus Off Mode since the last read of CAN_SR.
This flag is automatically cleared by reading CAN_SR register.
This flag is set depending on TEC counter value. A node is in bus off state when TEC counter is greater or equal to 256 (decimal).
31
30
29
28
27
26
25
24
OVLSY
TBSY
RBSY
BERR
FERR
AERR
SERR
CERR
23
22
21
20
19
18
17
16
TSTP
TOVF
WAKEUP
SLEEP
BOFF
ERRP
WARN
ERRA
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MB7
MB6
MB5
MB4
MB3
MB2
MB1
MB0