Showing changes from revision #1 to #2:
Added | Removed | Changed
int HAL_UARTModemStatus(int port)
Entry | |
---|---|
port | Port number to query |
Exit | |
---|---|
Bit 0 | CTS changed since last call |
Bit 1 | DSR changed since last call |
Bit 2 | RI changed from high to low since last call |
Bit 3 | DCD changed since last call |
Bit 4 | CTS |
Bit 5 | DSR |
Bit 6 | RI |
Bit 7 | DCD |
This is an internal call for use by the DualSerial module and should not be used by user code. Instead of calling the HAL directly, user code should interact with the Serial* entries that DualSerial creates in DeviceFS.
Reads the modem status inputs. Note that these are logical inputs, although the physical pins may be inverted. So 1 indicates a Clear To Send condition.