Specifications
mikroElektronika | Free Online Book | PIC Microcontrollers | Chapter 6: Serial Communication Modules
SENDB - Send Break Character bit is only used in asynchronous mode and only in case it is required to observe LIN bus
standard.
● 1 - Sending Break character is enabled; and
● 0 - Break character transmission is completed.
BRGH - High Baud Rate Select bit determines baud rate in asynchronous mode. It does not affect EUSART in synchronous
mode.
● 1 - EUSART operates at high speed; and
● 0 - EUSART operates at low speed.
TRMT - Transmit Shift Register Status bit
● 1 - TSR register is empty; and
● 0 - TSR register is full.
TX9D - Ninth bit of Transmit Data can be used as address or parity bit.
RCSTA Register
Fig.6-9 RCSTA Register
SPEN - Serial Port Enable bit
● 1 - Serial port enabled. RX/DT and TX/CK pins are automatically configured as input and output respectively; and
● 0 - Serial port disabled.
RX9 - 9-bit Receive Enable bit
● 1 - Receiving 9-bit data via EUSART system; and
● 0 - Receiving 8-bit data via EUSART system.
SREN - Single ReceiveEnable bit is used only in synchronous mode when the microcontroller operates as master.
● 1 - Single receive enabled; and
● 0 - Single receive disable.
CREN - Continuous Receive Enable bit acts differently depending on EUSART mode.
Asynchronous mode:
● 1 - Receiver enabled; and
● 0 - Receiver disabled.
Synchronous mode:
http://www.mikroe.com/en/books/picmcubook/ch6/ (7 of 27)5/3/2009 11:33:59 AM