English
Language : 

M16C1N Datasheet, PDF (223/238 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/10 SERIES
M16C/1N Group
20. Precautionary Notes in Using the Device
20.4 Serial I/O
1. When reading data from the UARTi receive buffer in the clock asynchronous serial I/O mode, data
should be read high-byte first then low-byte using a byte-size. If data is read as low-byte then high-
byte or in word-size the framing error and parity error flags are cleared.
A code example is shown below.
MOV.B
MOV.B
00A7H. R0H
00A6H. R0L
; Read the high-byte of UART0 receive buffer register
; Read the low-byte of UART0 receive buffer register
2. When writing data to the UARTi transmit buffer 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 using a byte-size.
A code example is shown below.
MOV.B
MOV.B
#XXH, 00A3H
#XXH, 00A2H
; Write the high-byte of UART0 transmit buffer register
; Write the low-byte of UART0 transmit buffer register
Rev.1.00 Oct 20, 2004 page 211 of 222
REJ090007-0100Z