
22.1.20 CANi Message Slot j Control Register (CiMCTLj Register) (i = 0, 1, j = 0 to 15)
Figure 22.30
C0MCTL0 to C0MCTL15 and C1MCTL0 to C1MCTL15 Registers
b7 b6 b5 b4
b1
b2
b3
Symbol
C0MCTL0 to C0MCTL15
C1MCTL0 to C1MCTL15
Address
0230h - 023Fh(3)
02B0h - 02BFh(4)
After Reset(2)
00h
b0
Function
Bit Symbol
Bit Name
RW
CANi Message Slot j Control Register (i = 0,1, j = 0 to 15)(1)
NOTES:
1. The CiMCTLj register can be accessed when the BANKSEL bit in the CiCTLR1 register is set to 0 (message slot control register
and single-shot register selected).
2. The value is obtained by setting the SLEEP bit in the CiSLPR register to 1 (sleep mode exited) after reset, supplying the clock to
the CAN module, and setting the BANKSEL bit to 0.
3. Registers C0MCTL0 to C0MCTL4 share addresses with registers C0LMAR0 to C0LMAR4, and registers C0MCTL8 to
C0MCTL12 with registers C0LMBR0 to C0LMBR4 respectively.
4. Registers C1MCTL0 to C1MCTL4 share addresses with registers C1LMAR0 to C1LMAR4, and registers C1MCTL8 to
C1MCTL12 with registers C1LMBR0 to C1LMBR4 respectively.
5. Set the bit to 0 by program. If a 1 is written, the value before writing a 1 remains unchanged.
6. BasicCAN mode can be used with the message slot 14 and 15.
7. Do not set both bits RECREQ and TRMREQ to 1 simultaneously.
RW
RO
RW
0: Overwrite not occurred
1: Overwrite occurred(5)
0: Automatic answering to the remote frame
enabled
1: Automatic answering to the remote frame
disabled
RW
When transmitting
When receiving
0: Not transmitting
0: Not storing receive
data
1: Transmitting
1: Storing receive data
RO
Not in BasicCAN mode
0: Data frame
1: Remote frame
In BasicCAN mode(6)
0: Data frame received (status)
1: Remote frame received (status)
RW
0: Receive operation not requested
1: Receive operation requested(7)
RW
When transmitting
When receiving
0: Transmit operation
0: Receive operation
not completed
1: Transmit operation
1: Receive operation
completed(5)
0: Data frame transmitted/received
1: Remote frame transmitted/received
0: Transmit operation not requested
1: Transmit operation requested(7)
When
transmitting,
TRMACTIVE
When
receiving,
INVALDATA
MSGLOST
REMACTIVE
Overwrite flag
Automatic answering disable
mode select bit
Remote frame set bit
Transmitting flag
Receiving flag
Remote frame transmit/receive
status flag
Receive request bit
Transmit request bit
Transmit complete flag
Receive complete flag
When
transmitting,
SENTDATA
When
receiving,
NEWDATA
REMOTE
RSPLOCK
TRMREQ
RECREQ