
23. 32-Slot CAN Module
23.1.4.1
MBOX3 to MBOX0 Bits
Bits MBOX3 to MBOX0 indicate four low-ordered bits of a corresponding message slot number when a
transmit operation is completed or a received data is stored. Use bits EXMBOX4 to EXMBOX0 in the
C2STR1 register to determine which message slot is active.
23.1.4.2
TRMSUCC Bit
The TRMSUCC bit becomes 1 when a transmit operation is successfully completed.
The TRMSUCC bit becomes 0 when a receive operation is successfully completed.
23.1.4.3
RECSUCC Bit
The RECSUCC bit becomes 1 when a receive operation is successfully completed. (regardless of whether a
receive message has been stored in the message slot.) When a message transmitted in loopback mode is
received, the TRMSUCC bit becomes 1 and the RECSUCC bit becomes 0.
The RECSUCC bit becomes 0 when a transmit operation is successfully completed.
23.1.4.4
TRMSTATE Bit
The TRMSTATE bit becomes 1 when the CAN module is operating as a transmit node.
The TRMSTATE bit becomes 0 when the CAN module is in a bus-idle state or starts operating as a receive
node.
23.1.4.5
RECSTATE Bit
The RECSTATE bit becomes 1 when the CAN module is operating as a receive node.
The RECSTATE bit becomes 0 when the CAN module is in a bus-idle state or starts operating as a transmit
node.
23.1.4.6
STATE_RESET Bit
After both bits RESET1 and RESET0 are set to 1 (CAN module is reset), the STATE_RESET bit becomes 1 as
soon as the CAN module reset is completed.
The STATE_RESET bit becomes 0 when bits RESET1 and RESET0 are set to 0 (CAN module is out of reset).
23.1.4.7
STATE_LOOPBACK Bit
The STATE_ LOOPBACK bit is 1 while the CAN module is operating in loopback mode.
The STATE_LOOPBACK bit becomes 1 when the LOOPBACK bit in the C2CTLR0 register is set to 1 (loop
back function enabled).
The STATE_LOOPBACK bit becomes 0 when the LOOPBACK bit is set to 0 (loop back function disabled).
23.1.4.8
STATE_BASICCAN Bit
The STATE_BASICCAN bit is 1 while the CAN module is operating in BasicCAN mode. Refer to 23.1.1.3 The STATE_BASICCAN bit becomes 0 when the BASICCAN bit is set to 0 (BasicCAN mode function
disabled).
The STATE_BASICCAN bit becomes 1 when the BASICCAN bit is set to 1 (BasicCAN mode function
enabled), and registers C2MCTL30 and C2MCTL31 are set to receive a data frame.