Datasheet

Section 15 Serial Communication Interface (SCI and IrDA)
Rev. 3.00 Mar 21, 2006 page 366 of 788
REJ09B0300-0300
15.3.7 Serial Status Register (SSR)
SSR is a register containing status flags of the SCI and multiprocessor bits for transfer. TDRE,
RDRF, ORER, PER, and FER can only be cleared.
Bit Bit Name Initial Value R/W Description
7 TDRE 1 R/(W)
*
Transmit Data Register Empty
Indicates whether TDR contains transmit data.
[Setting conditions]
When the TE bit in SCR is 0
When data is transferred from TDR to TSR and
TDR is ready for data write
[Clearing conditions]
When 0 is written to TDRE after reading
TDRE = 1
When a TXI interrupt request is issued allowing
the DTC to write data to TDR
6 RDRF 0 R/(W)
*
Receive Data Register Full
Indicates that receive data is stored in RDR.
[Setting condition]
When serial reception ends normally and receive
data is transferred from RSR to RDR
[Clearing conditions]
When 0 is written to RDRF after reading
RDRF = 1
When an RXI interrupt request is issued allowing
the DTC to read data from RDR
The RDRF flag is not affected and retains its
previous value when the RE bit in SCR is cleared to
0.
5 ORER 0 R/(W)
*
Overrun Error
[Setting condition]
When the next data is received while RDRF = 1
[Clearing condition]
When 0 is written to ORER after reading
ORER = 1