|
HD6473258P10V Datasheet, PDF (184/301 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer | |||
|
◁ |
9.2.7 Serial Status Register (SSR) â HâFFDC
Bit
7
6
5
4
3
2
1
0
TDRE RDRF ORER FER PER
â
â
â
Initial value
1
0
0
0
0
1
1
1
Read/Write R/(W)* R/(W)* R/(W)* R/(W)* R/(W)* â
â
â
* Software can write a 0 to clear the flags, but cannot write a 1 in these bits.
The SSR is an 8-bit register that indicates transmit and receive status. It is initialized to Hâ87 at a
reset and in the standby modes.
Bit 7 â Transmit Data Register Empty (TDRE): This bit indicates when the TDR contents have
been transferred to the TSR and the next character can safely be written in the TDR.
Bit 7
TDRE
0
1
Description
To clear TDRE, the CPU must read TDRE after it has been set to 1, then write a 0 in
this bit.
This bit is set to 1 at the following times:
(Initial value)
(1) When TDR contents are transferred to the TSR.
(2) When the TE bit in the SCR is cleared to 0.
Bit 6 â Receive Data Register Full (RDRF): This bit indicates when one character has been
received and transferred to the RDR.
Bit 6
RDRF
0
1
Description
To clear RDRF, the CPU must read RDRF after
it has been set to 1, then write a 0 in this bit.
This bit is set to 1 when one character is received without error and
transferred from the RSR to the RDR.
(Initial value)
177
|
▷ |