Datasheet
SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
1220
40.9.5 CAN Status Register
Name: CAN_SR
Address: 0x400B4010 (0), 0x400B8010 (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 is not in Error Active Mode.
1: CAN controller is in Error Active Mode.
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.
This flag is automatically reset when the above condition is not satisfied. Refer to Section “Error Interrupt Handler” on
page 1196 for more information.
• WARN: Warning Limit
0: CAN controller Warning Limit is not reached.
1: CAN controller Warning Limit is reached.
This flag is set depending on TEC and REC counter values. It is set when at least one of the counter values exceeds 96.
This flag is automatically reset when above the condition is not satisfied. Refer to Section “Error Interrupt Handler” on
page 1196 for more information.
• ERRP: Error Passive Mode
0: CAN controller is not in Error Passive Mode.
1: CAN controller is in Error Passive Mode.
This flag is set depending on TEC and REC counters values.
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).
This flag is automatically reset when the above condition is not satisfied. Refer to Section “Error Interrupt Handler” on
page 1196 for more information.
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
––––––––
76543210
MB7 MB6 MB5 MB4 MB3 MB2 MB1 MB0










