Defines | |
#define | ACE_SETSPEED |
ACE _ioctl() command code to set the line speed. | |
#define | ACE_GETSPEED |
ACE _ioctl() command code to query the line speed. | |
#define | ACE_SETDATABITS |
ACE _ioctl() command code to set the number of data bits. | |
#define | ACE_GETDATABITS |
ACE _ioctl() command code to query the number of data bits. | |
#define | ACE_SETPARITY |
ACE _ioctl() command code to set the parity mode. | |
#define | ACE_GETPARITY |
ACE _ioctl() command code to query the parity mode. | |
#define | ACE_SETSTOPBITS |
ACE _ioctl() command code to set the number of stop bits. | |
#define | ACE_GETSTOPBITS |
ACE _ioctl() command code to query the number of stop bits. | |
#define | ACE_SETSTATUS |
ACE _ioctl() command code to set the status. | |
#define | ACE_GETSTATUS |
ACE _ioctl() command code to query the status. | |
#define | ACE_SETREADTIMEOUT |
ACE _ioctl() command code to set the read timeout. | |
#define | ACE_GETREADTIMEOUT |
ACE _ioctl() command code to query the read timeout. | |
#define | ACE_SETWRITETIMEOUT |
ACE _ioctl() command code to set the write timeout. | |
#define | ACE_GETWRITETIMEOUT |
ACE _ioctl() command code to query the write timeout. | |
#define | ACE_SETLOCALECHO |
ACE _ioctl() command code to set the local echo mode. | |
#define | ACE_GETLOCALECHO |
ACE _ioctl() command code to query the local echo mode. | |
#define | ACE_SETFLOWCONTROL |
ACE _ioctl() command code to set the flow control mode. | |
#define | ACE_GETFLOWCONTROL |
ACE _ioctl() command code to query the flow control mode. | |
#define | ACE_SETCOOKEDMODE |
ACE _ioctl() command code to set the cooking mode. | |
#define | ACE_GETCOOKEDMODE |
ACE _ioctl() command code to query the cooking mode. | |
#define | ACE_SETBUFFERMODE |
ACE _ioctl() command code to set the buffering mode. | |
#define | ACE_GETBUFFERMODE |
ACE _ioctl() command code to query the buffering mode. | |
#define | ACE_SETTXBUFSIZ |
ACE _ioctl() command code to set the transmit buffer size. | |
#define | ACE_GETTXBUFSIZ |
ACE _ioctl() command code to query the transmit buffer size. | |
#define | ACE_SETRXBUFSIZ |
ACE _ioctl() command code to set the receive buffer size. | |
#define | ACE_GETRXBUFSIZ |
ACE _ioctl() command code to query the receive buffer size. | |
#define | ACE_SETTXBUFLWMARK |
ACE _ioctl() command code to set the transmit buffer low watermark. | |
#define | ACE_GETTXBUFLWMARK |
ACE _ioctl() command code to query the transmit buffer low watermark. | |
#define | ACE_SETTXBUFHWMARK |
ACE _ioctl() command code to set the transmit buffer high watermark. | |
#define | ACE_GETTXBUFHWMARK |
ACE _ioctl() command code to query the transmit buffer high watermark. | |
#define | ACE_SETRXBUFLWMARK |
ACE _ioctl() command code to set the receive buffer low watermark. | |
#define | ACE_GETRXBUFLWMARK |
ACE _ioctl() command code to query the receive buffer low watermark. | |
#define | ACE_SETRXBUFHWMARK |
ACE _ioctl() command code to set the receive buffer high watermark. | |
#define | ACE_GETRXBUFHWMARK |
ACE _ioctl() command code to query the receive buffer high watermark. | |
#define | ACE_SETBLOCKREAD |
ACE _ioctl() command code to set the block read mode. | |
#define | ACE_GETBLOCKREAD |
ACE _ioctl() command code to query the receive buffer high watermark. | |
#define | ACE_SETFIFO |
ACE _ioctl() command code to set the fifo mode and receive fifo trigger level. | |
#define | ACE_GETFIFO |
ACE _ioctl() command code to query the fifo mode and receive fifo trigger level. | |
#define | ACE_FRAMINGERROR |
Framing error. | |
#define | ACE_OVERRUNERROR |
Overrun error. | |
#define | ACE_PARITYERROR |
Parity error. | |
#define | ACE_ERRORS |
ACE errors. | |
#define | ACE_RXBUFFEREMPTY |
Receiver buffer empty. | |
#define | ACE_TXBUFFEREMPTY |
Transmitter buffer empty. | |
#define | ACE_RTSENABLED |
RTS handshake output enabled. | |
#define | ACE_RTSDISABLED |
RTS handshake output disabled. | |
#define | ACE_CTSENABLED |
CTS handshake input enabled. | |
#define | ACE_CTSDISABLED |
CTS handshake input disabled. | |
#define | ACE_DTRENABLED |
DTR handshake output enabled. | |
#define | ACE_DTRDISABLED |
DTR handshake output disabled. | |
#define | ACE_RXENABLED |
Receiver enabled. | |
#define | ACE_RXDISABLED |
Receiver enabled. | |
#define | ACE_TXENABLED |
Transmitter enabled. | |
#define | ACE_TXDISABLED |
Transmitter enabled. | |
#define | ACE_HS_RTSCTS |
RTS / CTS hardware handshake. | |
#define | ACE_HS_MODEM |
Full modem hardware handshake. | |
#define | ACE_HS_SOFT |
XON / XOFF software handshake. | |
Functions | |
int | AceInit (NUTDEVICE *dev) |
Initialize on chip ACE device. | |
int | AceIOCtl (NUTDEVICE *dev, int req, void *conf) |
Perform ACE control functions. | |
int | AceInput (NUTDEVICE *dev) |
Wait for input. | |
int | AceOutput (NUTDEVICE *dev) |
Initiate output. | |
int | AceFlush (NUTDEVICE *dev) |
Wait for output buffer empty. | |
int | AceGetRaw (u_char *cp) |
int | AcePutRaw (u_char ch) |
int | AceRead (NUTFILE *fp, void *buffer, int size) |
Read from device. | |
int | AceWrite (NUTFILE *fp, CONST void *buffer, int len) |
int | AceWrite_P (NUTFILE *fp, PGM_P buffer, int len) |
NUTFILE * | AceOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
Open a device or file. | |
long | AceSize (NUTFILE *fp) |
Request file size. | |
int | AceClose (NUTFILE *fp) |
Close a device or file. |