English
Language : 

SAM7X128_14 Datasheet, PDF (515/662 Pages) ATMEL Corporation – ARM-based Flash MCU
36.8.5 CAN Status Register
Name:
CAN_SR
Access Type:
Read-only
31
OVLSY
30
TBSY
29
RBSY
28
BERR
27
FERR
26
AERR
25
SERR
24
CERR
23
TSTP
22
TOVF
21
WAKEUP
20
SLEEP
19
BOFF
18
ERRP
17
WARN
16
ERRA
15
14
13
12
11
10
9
8
–
–
–
–
–
–
–
–
7
MB7
6
MB6
5
MB5
4
MB4
3
MB3
2
MB2
1
MB1
0
MB0
• 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 node is neither in Error Passive Mode nor in Bus Off
Mode.
This flag is automatically reset when above condition is not satisfied. Refer to Section 36.6.4.6 “Error Interrupt Handler” on page
492 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 condition is not satisfied. Refer to Section 36.6.4.6 “Error Interrupt Handler” on page
492 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 error passive 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 above condition is not satisfied. Refer to Section 36.6.4.6 “Error Interrupt Handler” on page
492 for more information.
• BOFF: Bus Off Mode
0 = CAN controller is not in Bus Off Mode.
1 = CAN controller is in Bus Off Mode.
SAM7X Series [DATASHEET]
6120K–ATARM–11-Feb-14
515