Rev.1.10 Jul 01, 2005 page 210 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 18. CAN Module
Under development
This document is under development and its contents are subject to change.
Figure 18.9 C0SSTR, C1SSTR Registers, C0ICR, C1ICR Registers, and C0IDR, C1IDR Registers
(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 can not 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 can not 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