Lsb First Or Msb First Selection - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
24.3.3

LSB First or MSB First Selection

Bit order is selected by setting the SMi5 bit in the SiC register (i = 3, 4). Figure 24.3 shows Bit Order.
(1) The SMi5 bit in the SiC register is set to 0 (LSB first)
CLKi
TXDi
RXDi
(2) The SMi5 bit in the SiC register is set to 1 (MSB first)
CLKi
TXDi
RXDi
The above diagram assumes the following:
The SMi4 bit in the SiC register is set to 0 (transmit data is output at falling edge of transmit/receive
clock and receive data is input at rising edge)
i = 3, 4
Figure 24.3
Bit Order
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
D0
D1
D2
D3
D0
D1
D2
D3
D7
D6
D5
D4
D7
D6
D5
D4
24. Serial Interface SI/O3 and SI/O4
D4
D5
D6
D7
D4
D5
D6
D7
D3
D2
D1
D0
D3
D2
D1
D0
Page 525 of 800

Advertisement

Table of Contents
loading

Table of Contents