English
Language : 

C8051F326 Datasheet, PDF (127/140 Pages) List of Unclassifed Manufacturers – Full Speed USB, 16 kB Flash MCU Family
C8051F326/7
SFR Definition 13.3. SBUF0: UART0 Data Buffer
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset Value
00000000
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SFR Address: 0x99
Bits7–0:
SBUF0[7:0]: Serial Data Buffer Bits 7–0 (MSB–LSB)
This SFR is used to both send data from the UART and to read received data from the
UART0 receive FIFO.
Write: 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.
Read: Reading SBUF0 retrieves data from the receive FIFO. When read, the oldest byte in
the receive FIFO is returned, and removed from the FIFO. Up to three bytes may be held in
the FIFO. If there are additional bytes available in the FIFO, the RI0 bit will remain at logic
‘1’, even after being cleared by software.
SFR Definition 13.4. SBCON0: UART0 Baud Rate Generator Control
R/W
SB0CLK
Bit7
R/W
R/W
R/W
R/W
R/W
SB0RUN Reserved Reserved Reserved Reserved
Bit6
Bit5
Bit4
Bit3
Bit2
R/W
R/W
Reset Value
SB0PS1 SB0PS0 00000000
Bit1
Bit0
Bit
Addressable
SFR Address: 0x91
Bit7:
Bit6:
Bits5–2:
Bits1–0:
SB0CLK: Baud Rate Generator Clock Source.
0: SYSCLK is used as Baud Rate Generator Clock Source.
1: USBCLK is used as Baud Rate Generator Clock Source.
SB0RUN: Baud Rate Generator Enable.
0: Baud Rate Generator is disabled. UART0 will not function.
1: Baud Rate Generator is enabled.
RESERVED: Read = 0000b; Must write 0000b.
SB0PS[1:0]: Baud Rate Prescaler Select.
00: Prescaler = 12
01: Prescaler = 4
10: Prescaler = 48
11: Prescaler = 1
Rev. 0.5
127