Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Product List
UART
Even though the programmer’s model has only one Serial Port Buffer (SBUFx), there are essentially two separate and distinct hardware buffers (registers) - the transmit write-only buffer and the receive read-only register. Writing to SBUF0 sends the data out serially from the Transmit Shift register through the TX0 pin. The data received on the RX0 pin is accumulated in the Receive Latch. A read of SBUF0 fetches the data from the Receive Latch. The Serial Port Control register (SCONx) contains the status and control bits. The control bits set the operating mode for the serial port, and status bits indicate the end of the character transmission or reception. The status bits are tested in software (polling) or programmed to cause an interrupt.  
PTM Published on: 2011-02-07