R8C/13 Group
19. Usage Notes
19.5 Serial Interface
(1) When reading data from the UiRB (i=0,1) register even in the clock asynchronous serial I/O mode or
in the clock synchronous serial I/O mode. Be sure to read data in 16-bit unit. When the high-byte of
the UiRB register is read, the PER and FER bits of the UiRB register and the RI bit of the UiC1
register are set to "0".
Example (when reading receive buffer register):
MOV.W
00A6H, R0
; Read the U0RB register
(2) When writing data to the UiTB register in the clock asynchronous serial I/O mode with 9-bit transfer
data length, data should be written high-byte first then low-byte in 8-bit unit.
Example (when reading transmit buffer register):
MOV.B
MOV.B
#XXH, 00A3H
#XXH, 00A2H
; Write the high-byte of U0TB register
; Write the low-byte of U0TB register
Rev.1.20 Jan 27, 2006 page 193 of 205
REJ09B0111-0120