Renesas M16C/64C User Manual page 518

Table of Contents

Advertisement

M16C/64C Group
23.3.2.2
LSB First/MSB First Select Function
As shown in Figure 23.14, the bit order can be selected by setting the UFORM bit in the UiC0 register.
This function is enabled when the character bit length is 8 bits.
(1) UFORM bit in the UiC0 register = 0 (LSB first)
CLKi
TXDi
RXDi
(2) UFORM bit in the UiC0 register = 1 (MSB first)
CLKi
TXDi
RXDi
i = 0 to 2, 5 to 7
The above assumes the following:
• The CKPOL bit in the UiC0 register is 0 (transmit data output at the falling edge and the receive data taken in at
the rising edge of the transmit/receive clock).
• The UiLCH bit in the UiC1 register is 0 (not inverted).
• The STPS bit in the UiMR register is 0 (1 stop bit).
• The PRYE bit in the UiMR register is 1 (parity enabled).
ST: Start bit
P: Parity bit
SP: Stop bit
Figure 23.14 Bit Order
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
ST
D0
D1
D2
ST
D0
D1
D2
ST
D7
D6
D5
ST
D7
D6
D5
23. Serial Interface UARTi (i = 0 to 2, 5 to 7)
D3
D4
D5
D6
D3
D4
D5
D6
D4
D3
D2
D1
D4
D3
D2
D1
D7
P
SP
D7
P
SP
D0
P
SP
D0
P
SP
Page 485 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents