
Rev.2.10 Apr 14, 2006 page 231 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 19. CAN Module
Figure 19.9 Registers C0SSTR, C1SSTR, C0ICR, C1ICR, C0IDR, and C1IDR
(b15) (b8)
b7 b0 b7 b0
Function
Slot status bits
Each bit corresponds to the slot with the
same number.
0: Reception slot
The message has been read.
Transmission slot
Transmission is not completed.
1: Reception slot
The message has not been read.
Transmission slot
Transmission is completed.
CANi Slot Status Register (i = 0, 1)
RW
RO
Setting Values
C0SSTR
C1SSTR
0000h
0000h
0215h, 0214h
0235h, 0234h
Symbol
Address After Reset
NOTE:
1. This register cannot be set in CAN reset/initialization mode of the CAN module.
(b15) (b8)
b7 b0 b7 b0
Function
Interrupt enable bits:
Each bit corresponds with a slot with the same
number.
Enabled/disabled of successful transmission
interrupt or successful reception interrupt can
be selected.
0: Interrupt disabled
1: Interrupt enabled
CANi Interrupt Control Register (i = 0, 1)
(1)
RW
RW
Setting Values
C0ICR
C1ICR
0000h
0000h
0217h, 0216h
0237h, 0236h
Symbol
Address After Reset
NOTE:
1. This register cannot be set in CAN reset/initialization mode of the CAN module.
(b15) (b8)
b7 b0 b7 b0
Function
Extended ID bits:
Each bit corresponds with a slot with the same
number.
Selection of the ID format that each slot handles.
0: Standard ID
1: Extended ID
CANi Extended ID Register (i = 0, 1)
(1)
RW
RW
Setting Values
C0IDR
C1IDR
0000h
0000h
0219h, 0218h
0239h, 0238h
Symbol
Address After Reset
Kommentare zu diesen Handbüchern