#include <emul.h>
Data Fields | |
long | baudrate |
Parameter for baud rate. | |
short | databits |
Parameter for data bits. | |
short | stopbits |
Parameter for stop bits. | |
short | parity |
Parameter for parity type. |
This object is used for setting and retrieving the serial configuration.
|
Parameter for baud rate. Valid rates are 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200. |
|
Parameter for data bits. Valid range is 5 - 8. |
|
Parameter for parity type. Valid values are PAR_NONE, PAR_EVEN, or PAR_ODD. |
|
Parameter for stop bits. Valid values are 1 or 2. |