Showing changes from revision #1 to #2:
Added | Removed | Changed
int HAL_UARTLineStatus(int port)
Entry | |
---|---|
port | Port number to query |
Exit | |
---|---|
Bit 0 | Receiver Data Ready |
Bit 1 | Overrun Error |
Bit 2 | Parity Error |
Bit 3 | Framing Error |
Bit 4 | Break Error |
Bit 5 | Transmitter Holding Register Empty |
Bit 6 | Transmitter Empty (including FIFO) |
Bit 7 | FIFO contains a Parity, Framing or Break error |
Parity, This Framing is and an Break internal errors call are for associated use with by each the byte received.DualSerial Whether module and should not be used by user code. Instead of calling the values reported here are associated with the last byteHAL read directly, using user ReceiveByte code or should interact with the next Serial* byte entries to that be DualSerial read creates is in undefined. DeviceFS.
You should request the status using ReceiveByte to ensure accurate
identification of bytes with errors.
Error Parity, bits Framing and Break errors are cleared associated whenever with status each byte received. Whether the values reported here are associated with the last byte read using ReceiveByte or with the next byte to be read is read, undefined. You should request the status using either ReceiveByte HAL_UARTLineStatus to ensure accurate identification of bytes with errors.
or HAL_UARTReceiveByte with status non-NULL.
Error bits are cleared whenever status is read, using either HAL_UARTLineStatus or HAL_UARTReceiveByte with status non-NULL.