| Electronic Components Datasheet Search |
|
C8051F331 Datasheet(PDF) 155 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
C8051F331 Datasheet(HTML) 155 Page - Silicon Laboratories |
|
155 / 216 page ![]() Rev. 1.5 155 C8051F330/1/2/3/4/5 16. UART0 UART0 is an asynchronous, full duplex serial port offering modes 1 and 3 of the standard 8051 UART. Enhanced baud rate support allows a wide range of clock sources to generate standard baud rates (details in Section “16.1. Enhanced Baud Rate Generation” on page 156). Received data buffering allows UART0 to start reception of a second incoming data byte before software has finished reading the previous data byte. UART0 has two associated SFRs: Serial Control Register 0 (SCON0) and Serial Data Buffer 0 (SBUF0). The single SBUF0 location provides access to both transmit and receive registers. Writes to SBUF0 always access the Transmit register. Reads of SBUF0 always access the buffered Receive register; it is not possible to read data from the Transmit register. With UART0 interrupts enabled, an interrupt is generated each time a transmit is completed (TI0 is set in SCON0), or a data byte has been received (RI0 is set in SCON0). The UART0 interrupt flags are not cleared by hardware when the CPU vectors to the interrupt service routine. They must be cleared manually by software, allowing software to determine the cause of the UART0 interrupt (transmit complete or receive complete). Figure 16.1. UART0 Block Diagram UART Baud Rate Generator RI SCON Tx Control Tx Clock Send SBUF (TX Shift) Start Data Write to SBUF Crossbar TX Shift Zero Detector Tx IRQ SET Q D CLR Stop Bit TB8 SFR Bus Serial Port Interrupt TI Port I/O Rx Control Start Rx Clock Load SBUF Shift 0x1FF RB8 Rx IRQ Input Shift Register (9 bits) Load SBUF Read SBUF SFR Bus Crossbar RX SBUF (RX Latch) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |