Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
689
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
33.9.5 CAN Status Register
Name:
CAN_SR
Address:
0x40010010 (0), 0x40014010 (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.
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.
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.
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 than 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.
A node is in error passive state when TEC counter is greater than or equal to 128 (decimal) or when the REC counter is 
greater than 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.
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