04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 13 ASYNCHRONOUS SERIAL INTERFACE LIN-UART (UARTF)<br />

(13) LIN-UARTn receive data register (UFnRX)<br />

The UFnRX register is a 16-bit register that is used to store receive data.<br />

Receive data of a character length specified by the UFnCL bit after reception completion will be stored into the<br />

UFnRX register when not in automatic baud rate mode (UFnMD1, UFnMD0 = 00B/10B) and when UFnEBE is “0”.<br />

When UFnEBE = UFnCL = 1, receive data of 9-bit length will be stored.<br />

This register is read-only, in 16-bit units. When the UFnRX register is read in 8-bit units, it can be accessed as the<br />

UFnRX register.<br />

Reset input sets this register to 0000H.<br />

Figure 13-13. Format of LIN-UARTn Receive Data Register (UFnRX)<br />

Address: FFF4AH, FFF4BH (UF0RX), FFF4EH, FFF4FH (UF1RX) After reset: 0000H R<br />

15 14 13 12 11 10 9 8<br />

UFnRX 0 0 0 0 0 0 0 UFnRX8<br />

(n = 0, 1) 7 6 5 4 3 2 1 0<br />

UFnRX7 UFnRX6 UFnRX5 UFnRX4 UFnRX3 UFnRX2 UFnRX1 UFnRX0<br />

When the data length is specified as 7 bits (UFnCL bit = 0):<br />

During LSB-first reception, receive data is transferred to bits 6 to 0 of the UFnRX register and the MSB always<br />

becomes “0”.<br />

During MSB-first reception, receive data is transferred to bits 7 to 1 of the UFnRX register and the LSB always<br />

becomes “0”.<br />

When an overrun error (UFnOVE = 1) has occurred, the receive data at that time will not be transferred to the<br />

UFnRX register.<br />

Caution “0” is written to the UFnRX8 bit of UFnRX register when writing data to the UFnRXB register.<br />

Remark The UFnRX8 bit is an expansion bit when expansion bits are enabled (UFnEBE = UFnCL = 1).<br />

R01UH0317EJ0004 Rev. 0.04 707<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!