Sfr Definition 19.4. Sbcon1: Uart1 Baud Rate Generator Control; Sfr Definition 19.3. Sbuf1: Uart1 Data Buffer - Silicon Laboratories C8051F341 Product Manual

Full speed usb flash mcu family
Table of Contents

Advertisement

C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D

SFR Definition 19.3. SBUF1: UART1 Data Buffer

R/W
R/W
Bit7
Bit6
Bits7–0: SBUF1[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
UART1 receive FIFO.
Write: Writing a byte to SBUF1 initiates the transmission. When data is written to SBUF1, it
first goes to the Transmit Holding Register, where it is held for serial transmission. When the
transmit shift register is available, data is transferred into the shift register, and SBUF1 may
be written again.
Read: Reading SBUF1 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 RI1 bit will remain at logic
'1', even after being cleared by software.

SFR Definition 19.4. SBCON1: UART1 Baud Rate Generator Control

R/W
R/W
Reserved SB1RUN Reserved Reserved Reserved Reserved SB1PS1
Bit7
Bit6
Bit7:
RESERVED: Read = 0b; Must write 0b.
Bit6:
SB1RUN: Baud Rate Generator Enable.
0: Baud Rate Generator is disabled. UART1 will not function.
1: Baud Rate Generator is enabled.
Bits5–2: RESERVED: Read = 0000b; Must write 0000b.
Bits1–0: SB1PS[1:0]: Baud Rate Prescaler Select.
00: Prescaler = 12
01: Prescaler = 4
10: Prescaler = 48
11: Prescaler = 1
220
R/W
R/W
R/W
Bit5
Bit4
Bit3
R/W
R/W
R/W
Bit5
Bit4
Bit3
Rev. 1.3
R/W
R/W
R/W
Bit2
Bit1
Bit0
SFR Address:
R/W
R/W
R/W
SB1PS0
Bit2
Bit1
Bit0
SFR Address:
Reset Value
00000000
0xD3
Reset Value
00000000
0xAC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F341 and is the answer not in the manual?

Table of Contents