C8051F50x-F51x
SFR Definition 24.3. SBUF0: Serial (UART0) Port Data Buffer
Bit
7
6
5
4
3
2
1
0
SBUF0[7:0]
R/W
Name
Type
Reset
0
0
0
0
0
0
0
0
SFR Address = 0x99; SFR Page = 0x00
Bit Name
7:0 SBUF0[7:0] Serial Data Buffer Bits 7–0 (MSB–LSB).
Function
This SFR accesses two registers; a transmit shift register and a receive latch register.
When data is written to SBUF0, it goes to the transmit shift register and is held for
serial transmission. Writing a byte to SBUF0 initiates the transmission. A read of
SBUF0 returns the contents of the receive latch.
SFR Definition 24.4. SBCON0: UART0 Baud Rate Generator Control
Bit
7
6
5
4
3
2
1
0
Reserved SB0RUN Reserved Reserved Reserved Reserved
SB0PS[1:0]
R/W
Name
Type
Reset
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
0
0
SFR Address = 0xAB; SFR Page = 0x0F
Bit
Name
Function
7
6
Reserved Read = 0b; Must Write 0b;
SB0RUN
Baud Rate Generator Enable.
0: Baud Rate Generator disabled. UART0 will not function.
1: Baud Rate Generator enabled.
5:2 Reserved Read = 0000b; Must Write = 0000b;
1:0 SB0PS[1:0]
Baud Rate Prescaler Select.
00: Prescaler = 12.
01: Prescaler = 4.
10: Prescaler = 48.
11: Prescaler = 1.
250
Rev. 1.1