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 />

(7) LIN-UARTn status register (UFnSTR)<br />

The UFnSTR register is a 16-bit register that displays the LIN-UARTn communication status and reception error<br />

contents.<br />

This register is read-only, in 16-bit units.<br />

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

Caution Flags other than the UFnTSF and UFnRSF flags are retained until the target bits of the LIN-<br />

UARTn status clear register (UFnSTC) are written (“1”) and then cleared. To clear a status flag,<br />

use a 16-bit manipulation instruction to write (“1”) and clear the target bits of the LIN-UARTn<br />

status clear register (UFnSTC).<br />

Figure 13-7. Format of LIN-UARTn Status Register (UFnSTR) (1/6)<br />

Address: F0246H, F0247H (UF0STR), F0266H, F0267H (UF1STR) After reset: 0000H R<br />

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

UFnSTR 0 UFnIPE UFnCSE UFnRPE UFnHDC UFnBUC UFnIDM UFnEBD<br />

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

UFnTSF UFnRSF 0 UFnBSF UFnDCE UFnPE UFnFE UFnOVE<br />

UFnIPE ID parity error flag<br />

0 No ID parity error has occurred.<br />

1 An ID parity error has occurred.<br />

<br />

Parity of received PID is incorrect<br />

The UFnIPE bit is a flag indicating the check status by the ID parity check function. It becomes<br />

“1”, if the parity of the received PID is incorrect when in automatic baud rate mode (UFnMD1,<br />

UFnMD0 = 11B). See 13.7.3 ID parity check function for details.<br />

The UFnIPE bit will not be cleared until “1” is written to the UFnCLIPE bit of the UFnSTC register,<br />

because the UFnIPE bit is a cumulative flag. It will not be set if the ID parity check function has<br />

been disabled (UFnIPCS = 0).<br />

R01UH0317EJ0004 Rev. 0.04 695<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!