SR (CAN) Register Description
Register Name | SR |
---|---|
Offset Address | 0x0000000018 |
Absolute Address |
0x00FF060018 (CAN0) 0x00FF070018 (CAN1) |
Width | 32 |
Type | mixedMixed types. See bit-field details. |
Reset Value | 0x00000001 |
Description | Controller Status |
The CAN Status Register provides a status of all conditions of the Core. Specifically, FIFO status, Error State, Bus State and Configuration mode are reported.
SR (CAN) Register Bit-Field Summary
Field Name | Bits | Type | Reset Value | Description |
---|---|---|---|---|
Reserved | 31:13 | rwNormal read/write | 0x0 | Reserved |
SNOOP | 12 | roRead-only | 0x0 | Snoop Mode Indicates the CAN controller is in Snoop Mode. 1: Indicates the CAN controller is in Snoop Mode. 0: Indicates the CAN controller is not in Snoop mode. |
ACFBSY | 11 | roRead-only | 0x0 | Acceptance Filter Busy indicator. Indicates write-ablity of the Mask and ID registers, read-only: 0: writable 1: not writable. This bit reads 1 when a 0 is written to any of the valid UAF bits in an Acceptance Filter Register. |
TXFLL | 10 | roRead-only | 0x0 | Transmit FIFO Full Indicates that the TX FIFO is full. 1: Indicates the TX FIFO is full. 0: Indicates the TX FIFO is not full. |
TXBFLL | 9 | roRead-only | 0x0 | High Priority Transmit Buffer Full Indicates the High Priority Transmit Buffer is full. 1: Indicates the High Priority Transmit Buffer is full. 0: Indicates the High Priority Transmit Buffer is not full. |
ESTAT | 8:7 | roRead-only | 0x0 | Error Status Indicates the error status of the CAN controller. 00: Indicates Configuration Mode (CONFIG = 1). Error State is undefined. 01: Indicates Error Active State. 11: Indicates Error Passive State. 10: Indicates Bus Off State. |
ERRWRN | 6 | roRead-only | 0x0 | Error Warning Indicates that either the Transmit Error counter or the Receive Error counter has exceeded a value of 96. 1: One or more error counters have a value greater than or equal to 96. 0: Neither of the error counters has a value greater than or equal to 96. |
BBSY | 5 | roRead-only | 0x0 | Bus Busy Indicates the CAN bus status. 1: Indicates that the CAN controller is either receiving a message or transmitting a message. 0: Indicates that the CAN controller is either in Configuration mode or the bus is idle. |
BIDLE | 4 | roRead-only | 0x0 | Bus Idle Indicates the CAN bus status. 1: Indicates no bus communication is taking place. 0: Indicates the CAN controller is either in Configuration mode or the bus is busy. |
NORMAL | 3 | roRead-only | 0x0 | Normal Mode Indicates the CAN controller is in Normal Mode. 1: Indicates the CAN controller is in Normal Mode. 0: Indicates the CAN controller is not in Normal mode. |
SLEEP | 2 | roRead-only | 0x0 | Sleep Mode Indicates the CAN controller is in Sleep mode. 1: Indicates the CAN controller is in Sleep mode. 0: Indicates the CAN controller is not in Sleep mode. |
LBACK | 1 | roRead-only | 0x0 | Loopback Mode Indicates the CAN controller is in Loopback mode. 1: Indicates the CAN controller is in Loopback mode. 0: Indicates the CAN controller is not in Loopback mode. |
CONFIG | 0 | roRead-only | 0x1 | Configuration Mode Indicator Indicates the CAN controller is in Configuration mode. 1: Indicates the CAN controller is in Configuration mode. 0: Indicates the CAN controller is not in Configuration mode. |