Renesas M32R/ECU Series User Manual page 566

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

13
(1) BOS (Bus Off Status) bit (Bit 1)
When BOS bit = "1", it means that the CAN module is in a buss off state.
[Set condition]
This bit is set to "1" when the transmit error count register value exceeded 255 and a bus off state is
entered.
[Clear condition]
This bit is cleared when restored from the bus off state.
(2) EPS (Error Passive Status) bit (Bit 2)
When EPS bit = "1", it means that the CAN module is in an error passive state.
[Set condition]
This bit is set to "1" when the transmit or receive error count register value exceeded 127 and an error
passive state is entered.
[Clear condition]
This bit is cleared when restored from the error passive state.
(3) CBS (CAN Bus Error) bit (Bit 3)
[Set condition]
This bit is set to "1" when an error is detected on the CAN bus.
[Clear condition]
This bit is cleared when the CAN module finished sending or receiving normally.
(4) BCS (BasicCAN Status) bit (Bit 4)
When BCS bit = "1", it means that the CAN module is operating in BasicCAN mode.
[Set condition]
This bit is set to "1" when the CAN module is operating in BasicCAN mode. BasicCAN mode is useful
when the following conditions are met:
• CAN Control Register BCM bit = "1"
• Slots 14 and 15 both are set for data frame reception
[Clear condition]
This bit is cleared by clearing the BCM bit to "0".
(5) LBS (Loopback Status) bit (Bit 6)
When LBS bit = "1", it means that the CAN module is operating in loopback mode.
[Set condition]
This bit is set to "1" by setting the CAN Control Register LBM (loopback mode) bit to "1".
[Clear condition]
This bit is cleared by clearing the LBM bit to "0".
13.2 CAN Module Related Registers
13-19
CAN MODULE
32180 Group User's Manual (Rev.1.0)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents