C8051F120/1/2/3/4/5/6/7
272
Rev. 1.2
Figure 22.9. SSTA0: UART0 Status and Clock Selection Register
Bit7:
FE0: Frame Error Flag.
†
This flag indicates if an invalid (low) STOP bit is detected.
0: Frame Error has not been detected
1: Frame Error has been detected.
Bit6:
RXOV0: Receive Overrun Flag.
†
This flag indicates new data has been latched into the receive buffer before software has read the pre-
vious byte.
0: Receive overrun has not been detected.
1: Receive Overrun has been detected.
Bit5:
TXCOL0: Transmit Collision Flag.
†
This flag indicates user software has written to the SBUF0 register while a transmission is in
progress.
0: Transmission Collision has not been detected.
1: Transmission Collision has been detected.
Bit4:
SMOD0: UART0 Baud Rate Doubler Enable.
This bit enables/disables the divide-by-two function of the UART0 baud rate logic for configurations
described in the UART0 section.
0: UART0 baud rate divide-by-two enabled.
1: UART0 baud rate divide-by-two disabled.
Bits3-2:
UART0 Transmit Baud Rate Clock Selection Bits.
Bits1-0:
UART0 Receive Baud Rate Clock Selection Bits
†
Note: FE0, RXOV0, and TXCOL0 are flags only, and no interrupt is generated by these conditions.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
FE0
RXOV0
TXCOL0 SMOD0 S0TCLK1 S0TCLK0 S0RCLK1 S0RCLK0 00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SFR Address:
SFR Page:
0x91
0
S0TCLK1
S0TCLK0
Serial Transmit Baud Rate Clock Source
0
0
Timer 1 generates UART0 TX Baud Rate
0
1
Timer 2 Overflow generates UART0 TX baud rate
1
0
Timer 3 Overflow generates UART0 TX baud rate
1
1
Timer 4 Overflow generates UART0 TX baud rate
S0RCLK1
S0RCLK0
Serial Receive Baud Rate Clock Source
0
0
Timer 1 generates UART0 RX Baud Rate
0
1
Timer 2 Overflow generates UART0 RX baud rate
1
0
Timer 3 Overflow generates UART0 RX baud rate
1
1
Timer 4 Overflow generates UART0 RX baud rate
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...