Renesas M16C/6NN Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 204 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.7 C0CTLR Register
FunctionBit Symbol
Reset
CAN Module
Reset Bit
(1)
Loop Back Mode
LoopBack
Select Bit
(2)
Message Order
MsgOrder
BasicCAN
Basic CAN Mode
Select Bit
(2)
Select Bit
(2)
BusErrEn
Bus Error Interrupt
Enable Bit
(2)
Sleep
Sleep Mode
Select Bit
(2) (3)
CAN Port Enable
Bit
(2) (3)
PortEn
-
(b7)
CAN0 Control Register
Symbol
Address After Reset
C0CTLR
X0000001b
0210h
Symbol
Address After Reset
C0CTLR
XX0X0000b
0211h
b7 b6 b5 b4 b3 b2 b1 b0
NOTES:
1. When the Reset bit is set to "1" (CAN reset/initialization mode), check that the State_Reset bit in the C0STR register is set to
"1" (Reset mode).
2. Change this bit only in the CAN reset/initialization mode.
3. When using CAN0 wake-up interrupt, set these bits to "1".
RW
RW
RW
RW
RW
RW
RW
RW
-
0: Operation mode
1: Reset/initialization mode
0: Word access
1: Byte access
0: Basic CAN mode disabled
1: Basic CAN mode enabled
0: Loop back mode disabled
1: Loop back mode enabled
0: Bus error interrupt disabled
1: Bus error interrupt enabled
0: Sleep mode disabled
1: Sleep mode enabled; clock supply stopped
0: I/O port function
1: CTX/CRX function
(b15) (b8)
b7 b6 b5 b4 b3 b2 b1 b0
TSPreScale
TSReset
RXOnly
RetBusOff
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
Nothing is assigned. When write, set to "0".
When read, their contents are indeterminate.
b1 b0
NOTES:
1. When the TSReset bit = 1, the C0TSR register is set to "0000h". After this, the bit is automatically set to "0".
2. When the RetBusOff bit = 1, the C0RECR and C0TECR registers are set to "00h". After this, this bit is automatically set to "0".
3. Change this bit only in the CAN reset/initialization mode.
4. When the listen-only mode is selected, do not request the transmission.
RW
RW
RW
RW
-
RW
-
0 0: Period of 1 bit time
0 1: Period of 1/2 bit time
1 0: Period of 1/4 bit time
1 1: Period of 1/8 bit time
0: Nothing is occurred.
1: Force reset of the time stamp counter
0: Listen-only mode disabled
1: Listen-only mode enabled
(4)
0: Nothing is occurred.
1: Force return from bus off
Time Stamp
Prescaler
(3)
Time Stamp Counter
Reset Bit
(1)
Return From Bus Off
Command Bit
(2)
Listen-Only Mode
Select Bit
(3)
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
-
(b4)
-
(b7-b6)
Bit Name
FunctionBit Symbol Bit Name