|
libserialport
0.1.0
cross-platform library for accessing serial ports
|
Functions | |
| enum sp_return | sp_get_signals (struct sp_port *port, enum sp_signal *signals) |
| Gets the status of the control signals for the specified port. More... | |
| enum sp_return | sp_start_break (struct sp_port *port) |
| Put the port transmit line into the break state. More... | |
| enum sp_return | sp_end_break (struct sp_port *port) |
| Take the port transmit line out of the break state. More... | |
Take the port transmit line out of the break state.
| port | Pointer to port structure. |
Gets the status of the control signals for the specified port.
The user should allocate a variable of type "enum sp_signal" and pass a pointer to this variable to receive the result. The result is a bitmask in which individual signals can be checked by bitwise OR with values of the sp_signal enum.
| port | Pointer to port structure. |
| signals | Pointer to variable to receive result. |
1.8.8