English
Language : 

M16C6NL Datasheet, PDF (240/388 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/6NL, M16C/6NN)
19. CAN Module
CAN0 Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0CTLR
Address
0210h
After Reset
X0000001b
Bit Symbol
Bit Name
Function
RW
CAN Module
0: Operation mode
Reset
Reset Bit (1)
1: Reset/initialization mode
RW
LoopBack
Loop Back Mode
Select Bit (2)
0: Loop back mode disabled
1: Loop back mode enabled
RW
Message Order
MsgOrder Select Bit (2)
0: Word access
1: Byte access
RW
Basic CAN Mode 0: Basic CAN mode disabled
BasicCAN Select Bit (2)
1: Basic CAN mode enabled
RW
BusErrEn
Bus Error Interrupt
Enable Bit (2)
0: Bus error interrupt disabled
1: Bus error interrupt enabled
RW
Sleep
Sleep Mode
Select Bit (2) (3)
0: Sleep mode disabled
1: Sleep mode enabled; clock supply stopped RW
PortEn
CAN Port Enable 0: I/O port function
Bit (2) (3)
1: CTX/CRX function
RW
-
Nothing is assigned. When write, set to "0".
(b7)
When read, its content is indeterminate.
-
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".
(b15)
(b8)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0CTLR
Address
0211h
After Reset
XX0X0000b
Bit Symbol
Bit Name
Function
RW
b1 b0
0 0: Period of 1 bit time
Time Stamp
TSPreScale Prescaler (3)
0 1: Period of 1/2 bit time
1 0: Period of 1/4 bit time
RW
1 1: Period of 1/8 bit time
TSReset
Time Stamp Counter 0: Nothing is occurred.
Reset Bit (1)
1: Force reset of the time stamp counter
RW
RetBusOff
Return From Bus Off 0: Nothing is occurred.
Command Bit (2) 1: Force return from bus off
RW
-
Nothing is assigned. When write, set to "0".
-
(b4)
When read, its content is indeterminate.
RXOnly
Listen-Only Mode 0: Listen-only mode disabled
Select Bit (3)
1: Listen-only mode enabled (4)
RW
-
Nothing is assigned. When write, set to "0".
-
(b7-b6) When read, their contents are indeterminate.
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.
Figure 19.7 C0CTLR Register
Rev.2.00 Nov 28, 2005 page 224 of 364
REJ09B0126-0200