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

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

UFnTSF Transmission status flag<br />

0 A transmit operation is not performed.<br />

<br />

When UFnCTL0.UFnTXE has been cleared to “0”<br />

When there was no next transmit data in UFnTX, UFnWTX, UFnBUF0 to UFnBUF8<br />

register upon transmission completion<br />

When there was no next transmit data in UFnTX, UFnWTX, UFnBUF0 to UFnBUF8<br />

bit after BF transmission has ended<br />

When the transmission after data consistency error detection is completed<br />

1 A transmit operation is performed.<br />

<br />

Writes to UFnTX, UFnWTX register<br />

When BF transmit trigger bit (UFnBTT) has been set Note<br />

When the transmission request bit (UFnTRQ) is set<br />

The UFnTSF bit is always “1” when successive transmission is performed.<br />

To initialize the transmission unit, check that UFnTSF is “0” before performing initialization. If<br />

initialization is performed while UFnTSF = 1, the transmission will be aborted midway.<br />

If a BF is detected in BF reception enabled mode during communication and when transmitting<br />

data, or if a BF/SF is detected in automatic baud rate mode and when transmitting data, the<br />

UFnDCE flag will be set and the UFnTSF bit will be cleared when a status interrupt (INTLSn) is<br />

issued.<br />

Note Only during BF period<br />

UFnRSF Reception status flag<br />

0 A receive operation is not performed.<br />

<br />

When UFnCTL0.UFnRXE has been cleared to “0”<br />

When at sampling point of stop bit (first bit) during reception<br />

When UFnBRT = 1 is set<br />

When a BF is detected in BF reception enabled mode during communication<br />

When a BF/SF is detected in automatic baud rate mode<br />

1 A receive operation is performed.<br />

<br />

When a start bit is detected (when it is detected that the data is 0 at the sampling point<br />

of the bit after the LRxDn falling edge is detected)<br />

To initialize the reception unit, check that UFnRSF is “0” before performing initialization. If<br />

initialization is performed while UFnRSF = 1, the rception will be aborted midway.<br />

R01UH0317EJ0004 Rev. 0.04 698<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!