English
Language : 

M16C Datasheet, PDF (169/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Preliminary Specifications REV.B
Mitsubishi microcomputers
Specifications in this manual are tentative and subject to change.
M16C / 6N Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
CAN Module
CAN Control Register
CAN Control Register
b7 b6 b5 b4 b3 b2 b1 b0
(b15)
(b8)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
C0CTLR
C1CTLR
Address
021016
023016
When reset
0116
0116
Bit symbol
Bit name
Function
RW
Reset
CAN Module Reset 0: Operation Mode
1: Reset / Initialization Mode
OO
LoopBack
Loop Back Mode
for CAN Module
0: Normal Operation Mode
OO
1: Loop Back Mode (read back and store the
transmitted message)
MsgOrder Message Order
0: The address order is adapted to word access O O
(16Bit) for the message objects and also the
mask memory.
1: The address order is byte linear(8Bit access).
BasicCAN
Basic CAN Feature 0: Normal Operation Mode:
OO
Slot #14/15 receive messages according to
the ’first fit’ system.
1: The CAN module switches between the
two active receive-slots #14 and #15 in case
of successive messages fitting into both slots.
BusErrEn
Bus Error Enable
0: Bus-errors will not be visible for ICU/CPU. O O
1: Bus-errors will be flagged for the ICU via the
CAN Error Interrupt signal.
Sleep
Local Sleep Mode 0: Operation Mode
for CAN Module
1: Clock of the CAN module will be stopped.
OO
PortEn
CAN Port Enable
0: Port serves as I/O port.
1: Port serves as CAN terminal (CRX/CTX).
OO
Nothing is assigned. It is not allowed to write ’1’ to this bit location.
When read, its content is indeterminate.
--
Symbol
C0CTLR
C1CTLR
Bit symbol
TSPreScale
Bit1, Bit0
Address
021116
023116
Bit name
TimeStamp (TS)
Prescaler
When reset
0016
0016
Function
Prescaler value for TS counting source
(basic source is the CAN bit-clock.)
RW
OO
b1 b0
0 0: Bit-clock
0 1: (Bit-clock)/2
1 0: (Bit-clock)/4
1 1: (Bit-clock)/8
TSReset
TimeStamp (TS)
Reset
0: TS counter counts bit cycles (s. the divider O O
stages is activated by TSPreScale setting.) (Note)
1: Reset (Counter value is cleared to $0000.)
RetBusOff
Return from ’Error
BusOff’ State
0: Normal Operation Mode
OO
1: Reset only for the CAN module to return (Note)
from ’Error BusOff’ state
Nothing is assigned. It is not allowed to write ’1’ to these bit locations.
When read, their contents are indeterminate.
--
*) Note: If the TS Reset/RetBusOff (write ’1’) is activated, the control bit will be cleared automatically
by the CAN module after performing the reset for the TS counter or the return from ’BusOff’ state.
Figure 18-7. Structure of CAN control register
169