139
MC96F8204
ABOV Semiconductor Co., Ltd.
USTST (USART Status Register) : DCH
7
6
5
4
3
2
1
0
DRE
TXC
RXC
WAKE
USTRST
DOR
FE
PE
R/W
R/W
R
R/W
R/W
R
R/W
R/W
Initial value : 80H
URE
The DRE flag indicates if the transmit buffer (USTDR) is ready to receive new data. If
DRE is
‘1’, the buffer is empty and ready to be written. The flag can generate a DRE
interrupt.
0
Transmit buffer is not empty.
1
Transmit buffer is empty.
TXC
This flag is set when the entire frame in the transmit shift register has been shifted out
and there is no new data currently present in the transmit buffer. This flag is
automatically cleared when the interrupt service routine of a TXC interrupt is executed.
This flag can generate a TXC interrupt.
0
Transmission is ongoing.
1
Transmit buffer is empty and the data in transmit shift register are shifted out
completely.
RXC
This flag is set when there are unread data in the receive buffer and cleared when all
the data in the receive buffer are read. The RXC flag can be used to generate a RXC
interrupt.
0
There is no data unread in the receive buffer
1
There are more than 1 data in the receive buffer
WAKE
This flag is set when the RXD pin is detected low while the CPU is in STOP mode. This
flag can be used to generate a WAKE interrupt (only UART mode)
0
No WAKE interrupt is generated.
1
WAKE interrupt is generated.
USTRST
This is an internal reset and only has effect on USART. Writing
‘1’ to this bit initializes
the internal logic of USART and is automatically cleared to
‘0’.
0
No operation
1
Reset USART
DOR
This bit is set if data OverRun occurs. While this bit is set, the incoming data frame is
ignored. This flag is valid until the receive buffer is read.
0
No Data Overrun
1
Data Overrun detected
FE
This bit is set if the first stop bit of next character in the receive buffer is detected as
‘0’.
This bit is valid until the receive buffer is read (only UART mode)
0
No Frame Error
1
Frame Error detected
PE
This bit is set if the next character in the receive buffer has a Parity Error while Parity
Checking is enabled. This bit is valid until the receive buffer is read (only UART mode)
0
No Parity Error
1
Parity Error detected
Содержание MC96F8104M
Страница 13: ...13 MC96F8204 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 20 Pin SOP Package...
Страница 14: ...14 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 2 20 Pin TSSOP Package...
Страница 15: ...15 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 3 16 Pin SOPN Package...
Страница 16: ...16 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 4 10 Pin SSOP Package...
Страница 17: ...17 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 5 8 Pin SOP Package...