Renesas M16C/6NN Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 206 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 18. CAN Module
Under development
This document is under development and its contents are subject to change.
Figure 18.9 C0STR Register
(b15) (b8)
b7 b6 b5 b4 b3 b2 b1 b0
Reset State Flag
Loop Back
State Flag
Message Order
State Flag
Basic CAN Mode
State Flag
Bus Error
State Flag
Error Passive
State Flag
Error Bus Off
State Flag
0: Operation mode
1: Reset mode
0:Word access
1: Byte access
0: Not Basic CAN mode
1: Basic CAN mode
0: No error has occurred.
1: A CAN bus error has occurred.
0: Not Loop back mode
1: Loop back mode
0: CAN module is not in error passive state.
1: CAN module is in error passive state.
0: CAN module is not in error bus off state.
1: CAN module is in error bus off state.
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
RO
RO
RO
RO
RO
RO
RO
-
CAN0 Status Register
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.
b7 b6 b5 b4 b3 b2 b1 b0
Active Slot Bits
(1)
b3 b2 b1 b0
RO
RO
RO
RO
RO
Successful
Reception Flag
(1)
Transmission Flag
(Transmitter)
Reception Flag
(Receiver)
0 0 0 0 : Slot 0
0 0 0 1 : Slot 1
0 0 1 0 : Slot 2
.
.
.
1 1 1 0 : Slot 14
1 1 1 1 : Slot 15
0: No [successful] reception
1: CAN module received a message successfully.
0: CAN module is idle or receiver.
1: CAN module is transmitter.
0: CAN module is idle or transmitter.
1: CAN module is receiver.
Successful
Transmission
Flag
(1)
0: No [successful] transmission
1: The CAN module has transmitted a message
successfully.
State_Reset
State_
LoopBack
State_
MsgOrder
State_
BasicCAN
State_
BusError
State_
ErrPass
State_
BusOff
-
(b7)
MBOX
TrmSucc
RecSucc
TrmState
RecState
C0STR
00h
0212h
Symbol
Address After Reset
C0STR
X0000001b
0213h
Symbol
Address After Reset
RWFunctionBit Symbol Bit Name
RWFunctionBit Symbol Bit Name