English
Language : 

M16C6NK Datasheet, PDF (248/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
19. CAN Module
CANi Status Register (i = 0, 1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
C1STR
Address
0212h
0232h
After Reset
00h
00h
Bit Symbol
Bit Name
Function
RW
b3 b2 b1 b0
0 0 0 0 : Slot 0
0 0 0 1 : Slot 1
MBOX
Active Slot Bits (1) 0 0... 1 0 : Slot 2
RO
1 1 1 0 : Slot 14
1 1 1 1 : Slot 15
TrmSucc
Successful
Transmission
Flag (1)
0: No [successful] transmission
1: The CAN module has transmitted a message RO
successfully.
RecSucc
TrmState
Successful
0: No [successful] reception
Reception Flag (1) 1: CAN module received a message successfully. RO
Transmission Flag 0: CAN module is idle or receiver.
(Transmitter)
1: CAN module is transmitter.
RO
Reception Flag
RecState (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 CiICR register is transmitted or received
successfully.
(b15)
(b8)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0STR
C1STR
Address
0213h
0233h
After Reset
X0000001b
X0000001b
Bit Symbol
Bit Name
Function
RW
0: Operation mode
State_Reset Reset State Flag 1: Reset mode
RO
State_
Loop Back
0: Not Loop back mode
LoopBack State Flag
1: Loop back mode
RO
State_
Message Order 0:Word access
MsgOrder State Flag
1: Byte access
RO
State_
Basic CAN Mode 0: Not Basic CAN 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_ Error Passive
ErrPass State Flag
0: CAN module is not in error passive state.
1: CAN module is in error passive state.
RO
State_
BusOff
Error Bus Off
State Flag
0: CAN module is not in error bus off state.
1: CAN module is in error bus off state.
RO
-
Nothing is assigned. When write, set to "0".
(b7)
When read, its content is indeterminate.
-
Figure 19.8 C0STR and C1STR Registers
Rev.2.00 Nov 28, 2005 page 230 of 378
REJ09B0124-0200