Download Print this page

Renesas M16C/50 Series User Manual page 617

Advertisement

M16C/5L Group, M16C/56 Group
23.1.15 CAN0 Mailbox Search Mode Register (C0MSMR)
CAN0 Mailbox Search Mode Register
(b15)
b7 b6 b5 b4
b3
b2
b1
Note:
1. Write to the C0MSMR register in CAN operation mode or CAN halt mode.
Figure 23.18 C0MSMR Register
23.1.15.1 MBSM Bit
The MBSM bit selects the search mode for the mailbox search function.
When this bit is 00b, receive mailbox search mode is selected. In this mode, the search targets are the
NEWDATA bit in the C0MCTLj register (j = 0 to 31) for the normal mailbox and the RFEST bit in the
C0RFCR register.
When the MBSM bit is 01b, transmit mailbox search mode is selected. In this mode, the search target is
the SENTDATA bit in the C0MCTLj register.
When the MBSM bit is 10b, message lost search mode is selected. In this mode, the search targets are
the MSGLOST bit in the C0MCTLj register for the normal mailbox and the RFMLF bit in the C0RFCR
register.
When the MBSM bit is 11b, channel search mode is selected. In this mode, the search target is the
C0CSSR register. Refer to 23.1.17 "CAN0 Channel Search Support Register (C0CSSR)".
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
(b8)
b0
Symbol
C0MSMR
Bit Symbol
Mailbox Search Mode
MBSM
Select Bit
No register bits; should be written with 0 and read as 0
(b7-b2)
(1)
Address
D7D3h
Bit Name
b1 b0
0 0 : Receive mailbox search mode
0 1 : Transmit mailbox search mode
1 0 : Message lost search mode
1 1 : Channel search mode
23. CAN Module
Reset Value
0000 0000b
Function
RW
RW
Page 580 of 803

Advertisement

loading