Renesas M16C/6NK Hardware Manual page 247

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
CANi Control Register (i = 0, 1)
b7
b6
b5
b4
b3
NOTES:
1. When the Reset bit is set to "1" (CAN
"1" (Reset mode).
2. Change this bit only in the CAN reset/initialization mode.
3. When using CAN0/1 wake-up interrupt, set these bits to "1".
(b15)
b7
b6
b5
b4
b3
NOTES:
1. When the TSReset bit = 1, the CiTSR register is set to "0000h". After this, the bit is automatically set to "0".
2. When the RetBusOff bit = 1, the CiRECR and CiTECR 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 and C1CTLR Registers
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
b2
b1
b0
Symbol
C0CTLR
C1CTLR
Bit Symbol
Reset
LoopBack
MsgOrder
BasicCAN
BusErrEn
Sleep
PortEn
-
(b7)
reset/initialization mode), check that the State_Reset bit in the CiSTR register is set to
(b8)
b2
b1
b0
Symbol
C0CTLR
C1CTLR
Bit Symbol
TSPreScale
TSReset
RetBusOff
-
(b4)
RXOnly
-
(b7-b6)
page 229 of 378
Address
After Reset
0210h
X0000001b
0230h
X0000001b
Bit Name
CAN Module
0: Operation mode
(1)
Reset Bit
1: Reset/initialization mode
Loop Back Mode
0: Loop back mode disabled
(2)
Select Bit
1: Loop back mode enabled
Message Order
0: Word access
Select Bit
(2)
1: Byte access
Basic CAN Mode
0: Basic CAN mode disabled
(2)
Select Bit
1: Basic CAN mode enabled
Bus Error Interrupt
0: Bus error interrupt disabled
(2)
Enable Bit
1: Bus error interrupt enabled
Sleep Mode
0: Sleep mode disabled
(2) (3)
Select Bit
1: Sleep mode enabled; clock supply stopped
0: I/O port function
CAN Port Enable
(2) (3)
1: CTX/CRX function
Bit
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
Address
After Reset
0211h
XX0X0000b
0231h
XX0X0000b
Bit Name
b1 b0
0 0: Period of 1 bit time
Time Stamp
0 1: Period of 1/2 bit time
(3)
Prescaler
1 0: Period of 1/4 bit time
1 1: Period of 1/8 bit time
Time Stamp Counter
0: Nothing is occurred.
(1)
1: Force reset of the time stamp counter
Reset Bit
0: Nothing is occurred.
Return From Bus Off
(2)
1: Force return from bus off
Command Bit
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
Listen-Only Mode
0: Listen-only mode disabled
(3)
Select Bit
1: Listen-only mode enabled
Nothing is assigned. When write, set to "0".
When read, their contents are indeterminate.
19. CAN Module
Function
RW
RW
RW
RW
RW
RW
RW
RW
-
RW
Function
RW
RW
RW
-
RW
(4)
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents