Renesas M16C/6NK Technical Information Seite 253

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 252
Rev.2.10 Apr 14, 2006 page 229 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 19. CAN Module
Figure 19.7 Registers C0CTLR and C1CTLR
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)
CANi Control Register (i = 0, 1)
Symbol
Address After Reset
C0CTLR
C1CTLR
X0000001b
X0000001b
0210h
0230h
Symbol
Address After Reset
C0CTLR
C1CTLR
XX0X0000b
XX0X0000b
0211h
0231h
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 CiSTR register is set to 1
(reset mode).
2. Change this bit only in CAN reset/initialization mode.
3. When using CAN0/1 wake-up interrupt, set these bits to 1.
4. When the PortEn bit is set to 1 (CTX/CRX function), set the corresponding port direction bit for the CRXi pin to 0 (input mode).
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
(4)
(b15) (b8)
b7 b6 b5 b4 b3 b2 b1 b0
TSPreScale
TSReset
RXOnly
RetBusOff
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined.
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined.
b1 b0
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, registers CiRECR and CiTECR are set to 00h. After this, this bit is automatically set to 0.
3. Change this bit only in CAN reset/initialization mode.
4. When 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. If necessary, set to 0.
When read, the content is undefined.
-
(b4)
-
(b7-b6)
Bit Name
FunctionBit Symbol Bit Name
Seitenansicht 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare