Download Print this page

Renesas M16C/50 Series User Manual page 620

Advertisement

M16C/5L Group, M16C/56 Group
23.1.17 CAN0 Channel Search Support Register (C0CSSR)
CAN0 Channel Search Support Register
b7
Notes:
1. Write to the C0CSSR register only when the MBSM bit in the C0MSMR register is 11b (channel search mode).
2. Write to the C0CSSR register in CAN operation mode or CAN halt mode.
Figure 23.20 C0CSSR Register
The bits in the C0CSSR register, which are set to 1, are encoded by an 8/3 encoder (the lower bit
position, the higer priority) and output to the MBNST bits in the C0MSSR register.
The C0MSSR register outputs the updated value whenever the C0MSSR register is read by a program.
Figure 23.21 shows the write and read of registers C0CSSR and C0MSSR.
b7
C0CSSR register
C0MSSR register
b7
(1st read)
(2nd read)
(3rd read)
(4th read)
Figure 23.21 Write and Read of Registers C0CSSR and C0MSSR
The value of the C0CSSR register is also updated whenever the C0MSSR register is read. When the
C0CSSR register is read, the value before the 8/3 encoder conversion is read.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
b0
Symbol
C0CSSR
When the value of the channel search is input, the channel
number is output to the CiMSSR register
b6
0
1
0
0
8/3 encoder
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
(1, 2)
Address
D7D1h
Function
b3
b0
1
0
0
1
b2
b0
0
0
0
0
0
0
1
1
0
1
1
0
23. CAN Module
Reset Value
Undefined
Setting Value
RW
Channel value
RW
Address
CAN0
D7D1h
D7D2h
(Search result: Channel no. 0 read)
(Search result: Channel no. 3 read)
(Search result: Channel no. 6 read)
(Search result: No corresponding channel no.)
Page 583 of 803

Advertisement

loading