English
Language : 

M16C29 Datasheet, PDF (318/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
M16C/29 Group
17.1.3.3 C0STR Register
Figure 17.8 shows the C0STR register.
17. CAN Module
CAN0 Status Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
Address
021216
After Reset
0016
Bit Symbol
Bit Name
Function
RW
b3 b2 b1 b0
0 0 0 0: Slot 0
MBOX
Active slot bits(1)
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
Successful
0: No [successful] transmission
TrmSucc transmission flag(1) 1: The CAN module has transmitted a message
RO
successfully
RecSucc
Successful reception 0: No [successful] reception
flag
(1) 1: CAN module received a message successfully
RO
TrmState
Transmission flag
(Transmitter)
0: CAN module is idle or receiver
1: CAN module is transmitter
RO
RecState
Reception flag
(Receiver)
0: CAN module is idle or transmitter
1: CAN module is receiver
RO
NOTE:
1. These bits can be changed only when a slot which an interrupt is enabled by the C0ICR register is transmitted or received successfully.
(b15)
(b8)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
Address
021316
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: Loop back mode disabled
LoopBack
1: Loop back mode enabled
RO
State_
MsgOrder
Message order
state flag
0: Word access
1: Byte access
RO
State_
Basic CAN mode
BasicCAN state flag
0: Basic CAN mode disabled
1: Basic CAN mode enabled
RO
State_
Bus error
BusError state flag
0: No error has occurred.
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.
1: The CAN module is in error bus off state.
RO
-
Nothing is assigned. If necessary, set to 0.
(b7)
When read, the content is undefined
-
Figure 17.8 C0STR Register
Rev. 1.12 Mar.30, 2007 page 294 of 458
REJ09B0101-0112