Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

UART I/O Control Functions
[Serial communication devices.]

UART Ioctl commands. More...

Defines

#define UART_SETSPEED   0x0101
 Set baudrate.

#define UART_GETSPEED   0x0102
 Query baudrate.

#define UART_SETDATABITS   0x0103
 Set number of data bits.

#define UART_GETDATABITS   0x0104
 Set number of data bits.

#define UART_SETPARITY   0x0105
 Set parity.

#define UART_GETPARITY   0x0106
 Query parity.

#define UART_SETSTOPBITS   0x0107
 Set number of stop bits.

#define UART_GETSTOPBITS   0x0108
 Query number of stop bits.

#define UART_SETSTATUS   0x0109
 Set status.

#define UART_GETSTATUS   0x010a
 Query status.

#define UART_SETREADTIMEOUT   0x010b
 Set read timeout.

#define UART_GETREADTIMEOUT   0x010c
 Query read timeout.

#define UART_SETWRITETIMEOUT   0x010d
 Set write timeout.

#define UART_GETWRITETIMEOUT   0x010e
 Query write timeout.

#define DIO_SETSTATUS   0x0209
 Set digital output status.

#define DIO_GETSTATUS   0x020a
 Query digital input status.

#define DIO_WAITSTATUS   0x020b
 Wait for digital input status change.


Detailed Description

UART Ioctl commands.

These commands can be used with NutDeviceIOCtl() or UartAvrIOCtl().


© 2000-2002 by egnite Software GmbH - visit http://www.ethernut.de/