Can Status Registers - Renesas M32R/ECU Series User Manual

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

Advertisement

13

13.2.2 CAN Status Registers

CAN0 Status Register (CAN0STAT)
CAN1 Status Register (CAN1STAT)
b0
1
2
BOS
EPS
0
0
0
b
Bit Name
0
No function assigned. Fix to "0".
1
BOS
Bus off status bit
2
EPS
Error passive status bit
3
CBS
CAN bus error bit
4
BCS
BasicCAN mode status bit
5
No function assigned. Fix to "0".
6
LBS
Loopback status bit
7
CRS
CAN reset status bit
8
RSB
Receive status bit
9
TSB
Transmit status bit
10
RSC
Reception completed status bit
11
TSC
Transmission completed status bit
12–15
MSN
Message slot number bit
3
4
5
6
CBS
BCS
LBS
0
0
0
0
13.2 CAN Module Related Registers
7
8
9
10
CRS
RSB
TSB
RSC
1
0
0
0
Function
0: Not bus off
1: Bus off state
0: Not error passive
1: Error passive state
0: No error occurred
1: Error occurred
0: Normal mode
1: BasicCAN mode
0: Normal mode
1: Loopback mode
0: Operating
1: Reset
0: Not receiving
1: Receiving
0: Not sending
1: Sending
0: Reception not completed
1: Reception completed
0: Transmission not completed
1: Transmission completed
Number of the message slot which has finished
sending or receiving
0000: Slot 0
0001: Slot 1
0010: Slot 2
0011: Slot 3
0100: Slot 4
0101: Slot 5
0110: Slot 6
0111: Slot 7
1000: Slot 8
1001: Slot 9
1010: Slot 10
1011: Slot 11
1100: Slot 12
1101: Slot 13
1110: Slot 14
1111: Slot 15
13-18
CAN MODULE
<Address: H'0080 1002>
<Address: H'0080 1402>
11
12
13
14
TSC
MSN
0
0
0
0
<After reset: H'0100>
32180 Group User's Manual (Rev.1.0)
b15
0
R
W
0
0
R
R
R
R
0
0
R
R
R
R
R
R
R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents