Main Page | Data Structures | File List | Data Fields | Globals

serconfig Struct Reference

Structure used with em_serconfig_set and em_serconfig_get. More...

#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.


Detailed Description

Structure used with em_serconfig_set and em_serconfig_get.

This object is used for setting and retrieving the serial configuration.


Field Documentation

long serconfig::baudrate
 

Parameter for baud rate.

Valid rates are 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.

short serconfig::databits
 

Parameter for data bits.

Valid range is 5 - 8.

short serconfig::parity
 

Parameter for parity type.

Valid values are PAR_NONE, PAR_EVEN, or PAR_ODD.

short serconfig::stopbits
 

Parameter for stop bits.

Valid values are 1 or 2.


The documentation for this struct was generated from the following file:
Generated on Sat Apr 2 14:58:13 2005 for EarthMate Userland Library by doxygen 1.3.7