English
Language : 

M16C1N Datasheet, PDF (150/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
16.4.3 C0STR Register
Figure 16.8 shows the C0STR register.
16. CAN Module
CAN0 status register (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
Address
023216
After reset
0016
Bit symbol
Bit name
Function
RW
MBox
Active slot bits
b3 b2 b1 b0
(Note 2) 0 0 0 0 : Slot 0
0 0 0 1 : Slot 1
0 0... 1 0 : Slot 2
RO
1 1 1 0 : Slot 14
1 1 1 1 : Slot 15
TrmSucc
Successful
transmission flag
0 : No [successful] transmission
1 : The CAN module has transmitted a message RO
successfully.
RecSucc
TrmState
RecState
Successful
reception flag
Transmission flag
(Transmitter)
Reception flag
(Receiver)
0 : No [successful] reception
1 : CAN module received a message successfully. RO
0 : CAN module is idle or receiver.
1 : CAN module is transmitter.
RO
0 : CAN module is idle or transmitter.
1 : CAN module is receiver.
RO
Note 1: These bits can not be set in CAN reset/initialization mode of the CAN module.
Note 2: These bits change when a slot enabled interrupt has transmitted or received successfully.
(b15)
(b8)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
Address
023316
After reset
X00000012
Bit symbol
Bit name
Function
RW
State_Reset Reset state flag
0 : Operation mode
1 : Reset mode
RO
State_
Loop back state flag 0 : Normal operation mode
LoopBack
1 : Loop back mode
RO
State_
Message order
0 : Word access
MsgOrder state flag
1 : Byte access
RO
State_
Basic CAN mode 0 : Normal operation mode
BasicCAN state flag
1 : Basic CAN mode
RO
State_
Bus error
0 : No error has occurred.
BusError
state flag
1 : A CAN bus error has occurred.
RO
State_
ErrPass
Error passive
state flag
0 : The CAN module is not in error passive state.
1 : The CAN module is in error passive state.
RO
State_
BusOff
Error bus off
state flag
0 : The CAN module is not in error bus off state.
RO
1 : The CAN module is in error bus off state.
-
Nothing is assigned. When write, set to "0".
(b7)
When read, its content is indeterminate.
-
Figure 16.8 C0STR Register
Rev.1.00 Oct 20, 2004 page 138 of 222
REJ09B0007-0100Z