UxFIFO
BSF
instruction should not be used to set RXBE because doing so will clear a
byte pending in the transmit shift register when the UxTXB register is
empty. Instead, use the MOVWF instruction with a
‘0’ in the TXBE bit location.| Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TXWRE | STPMD | TXBE | TXBF | RXIDL | XON | RXBE | RXBF |
| AccessR/W/S | R/W | R/W/S/C | R/S/C | R/S/C | S/C | R/W/S/C | R/S/C |
| Reset0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 |
Transmit Write Error Status (must be cleared by software)
| Value | Name | Description |
|---|---|---|
| 1 | MODE = LIN Master | UxP1L was written when a master process was active |
| 1 | MODE = LIN Slave | UxTXB
was written when UxP2 = 0 or more than UxP2 bytes have been
written to UxTXB since last Break |
| 1 | MODE = Address detect | UxP1L was written before the previous data in UxP1L was transferred to TX shifter |
| 1 | MODE = All | A new byte was written to UxTXB when the output FIFO was full |
| 0 | MODE = All | No error |
Stop Bit Detection Mode
| Value | Name | Description |
|---|---|---|
| 1 | STP = 11 | Assert UxRXIF at end of first Stop bit |
| 1 | STP≠ 11 | Assert UxRXIF at end of last Stop bit |
| 0 | STP = xx | Assert UxRXIF in middle of first Stop bit |
Transmit Buffer Empty Status
| Value | Description |
|---|---|
| 1 | Transmit buffer is empty. Setting this bit will clear the transmit buffer and output shift register. |
| 0 | Transmit buffer is not empty. Software cannot clear this bit. |
Transmit Buffer Full Status
| Value | Description |
|---|---|
| 1 | Transmit buffer is full |
| 0 | Transmit buffer is not full |
Receive Pin Idle Status
| Value | Description |
|---|---|
| 1 | Receive pin is in Idle state |
| 0 | UART is receiving Start, Stop, Data, Auto-baud, or Break |
Software Flow Control Transmit Enable Status
| Value | Description |
|---|---|
| 1 | Transmitter is enabled |
| 0 | Transmitter is disabled |
Receive Buffer Empty Status
| Value | Description |
|---|---|
| 1 | Receive buffer is empty. Setting this bit will clear the RX buffer(1) |
| 0 | Receive buffer is not empty. Software cannot clear this bit. |
Receive Buffer Full Status
| Value | Description |
|---|---|
| 1 | Receive buffer is full |
| 0 | Receive buffer is not full |