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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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) (3/6)<br />

UFnBUC Buffer transmission/reception completion flag<br />

0 Buffer transmission/reception is not completed.<br />

1 Buffer transmission/reception is completed<br />

<br />

The set number of data is transmitted or received.<br />

(only when transmitted when in normal UART mode)<br />

The UFnBUC bit is a flag indicating the data transmission and reception status of a buffer. It<br />

becomes “1” when the set number of data items have been transmitted or received<br />

without an error occurring. See 13.6.1 UART buffer mode transmission and 13.7 LIN<br />

Communication Automatic Baud Rate Mode for details.<br />

The UFnBUC bit will not be cleared until “1” is written to the UFnCLBUC bit of the UFnSTC<br />

register, because the UFnBUC bit is a cumulative flag. It will be set only when in normal UART<br />

mode (UFnMD1, UFnMD0 = 00B) or automatic baud rate mode (UFnMD1, UFnMD0 = 11B).<br />

UFnIDM ID match flag<br />

0 The ID does not match.<br />

1 The IDdoes match<br />

<br />

When 8 bits of receive data, excluding expansion bit, have matched with UFnID<br />

register value set in advance<br />

The UFnIDM bit is a flag indicating the result of comparing the 8 bits of receive data, excluding<br />

the expansion bit, and the UFnID register value set in advance when expansion bit data<br />

comparison has been enabled (UFnEBC = 1) by enabling the expansion bit (UFnCL = UFnEBE =<br />

1). The comparison will be performed with the data for which the level set by using the expansion<br />

bit detection level select bit (UFnEBL) has been detected. The UFnIDM bit becomes “1” when the<br />

comparison result has matched. See 13.8.3 Expansion bit mode reception (with data<br />

comparison) for details.<br />

The UFnIDM bit will not be cleared until “1” is written to the UFnCLIDM bit of the UFnSTC<br />

register, because the UFnIDM bit is a cumulative flag. It will not be set when the expansion bit<br />

has not been enabled and expansion bit data comparison has not been enabled (UFnCL =<br />

UFnEBE = UFnEBC = 1).<br />

UFnEBD Expansion bit detection flag<br />

0 An extension bit is not detected<br />

1 An extension bit is detected<br />

<br />

When level set by using expansion bit detection level select bit (UFnEBL) has been<br />

detected for expansion bit<br />

The UFnEBD bit is a flag indicating detection of the level set by using the expansion bit detection<br />

level select bit (UFnEBL) when the expansion bit has been enabled (UFnCL = UFnEBE = 1). It<br />

becomes “1” when the setting level has been detected. See 13.8.2 Expansion bit mode<br />

reception (no data comparison) and 13.8.3 Expansion bit mode reception (with data<br />

comparison) for details.<br />

The UFnEBD bit will not be cleared until “1” is written to the UFnCLEBD bit of the UFnSTC<br />

register, because the UFnEBD bit is a cumulative flag. It will not be set when the expansion bit<br />

has been disabled (UFnEBE = 0).<br />

R01UH0317EJ0004 Rev. 0.04 697<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!