|
Defines |
| #define | ACE_SETSPEED 0x0101 |
| | ACE _ioctl() command code to set the line speed.
|
| #define | ACE_GETSPEED 0x0102 |
| | ACE _ioctl() command code to query the line speed.
|
| #define | ACE_SETDATABITS 0x0103 |
| | ACE _ioctl() command code to set the number of data bits.
|
| #define | ACE_GETDATABITS 0x0104 |
| | ACE _ioctl() command code to query the number of data bits.
|
| #define | ACE_SETPARITY 0x0105 |
| | ACE _ioctl() command code to set the parity mode.
|
| #define | ACE_GETPARITY 0x0106 |
| | ACE _ioctl() command code to query the parity mode.
|
| #define | ACE_SETSTOPBITS 0x0107 |
| | ACE _ioctl() command code to set the number of stop bits.
|
| #define | ACE_GETSTOPBITS 0x0108 |
| | ACE _ioctl() command code to query the number of stop bits.
|
| #define | ACE_SETSTATUS 0x0109 |
| | ACE _ioctl() command code to set the status.
|
| #define | ACE_GETSTATUS 0x010a |
| | ACE _ioctl() command code to query the status.
|
| #define | ACE_SETREADTIMEOUT 0x010b |
| | ACE _ioctl() command code to set the read timeout.
|
| #define | ACE_GETREADTIMEOUT 0x010c |
| | ACE _ioctl() command code to query the read timeout.
|
| #define | ACE_SETWRITETIMEOUT 0x010d |
| | ACE _ioctl() command code to set the write timeout.
|
| #define | ACE_GETWRITETIMEOUT 0x010e |
| | ACE _ioctl() command code to query the write timeout.
|
| #define | ACE_SETLOCALECHO 0x010f |
| | ACE _ioctl() command code to set the local echo mode.
|
| #define | ACE_GETLOCALECHO 0x0110 |
| | ACE _ioctl() command code to query the local echo mode.
|
| #define | ACE_SETFLOWCONTROL 0x0111 |
| | ACE _ioctl() command code to set the flow control mode.
|
| #define | ACE_GETFLOWCONTROL 0x0112 |
| | ACE _ioctl() command code to query the flow control mode.
|
| #define | ACE_SETCOOKEDMODE 0x0113 |
| | ACE _ioctl() command code to set the cooking mode.
|
| #define | ACE_GETCOOKEDMODE 0x0114 |
| | ACE _ioctl() command code to query the cooking mode.
|
| #define | ACE_SETBUFFERMODE 0x0115 |
| | ACE _ioctl() command code to set the buffering mode.
|
| #define | ACE_GETBUFFERMODE 0x0116 |
| | ACE _ioctl() command code to query the buffering mode.
|
| #define | ACE_SETTXBUFSIZ 0x011b |
| | ACE _ioctl() command code to set the transmit buffer size.
|
| #define | ACE_GETTXBUFSIZ 0x011c |
| | ACE _ioctl() command code to query the transmit buffer size.
|
| #define | ACE_SETRXBUFSIZ 0x011d |
| | ACE _ioctl() command code to set the receive buffer size.
|
| #define | ACE_GETRXBUFSIZ 0x011e |
| | ACE _ioctl() command code to query the receive buffer size.
|
| #define | ACE_SETTXBUFLWMARK 0x0120 |
| | ACE _ioctl() command code to set the transmit buffer low watermark.
|
| #define | ACE_GETTXBUFLWMARK 0x0121 |
| | ACE _ioctl() command code to query the transmit buffer low watermark.
|
| #define | ACE_SETTXBUFHWMARK 0x0122 |
| | ACE _ioctl() command code to set the transmit buffer high watermark.
|
| #define | ACE_GETTXBUFHWMARK 0x0123 |
| | ACE _ioctl() command code to query the transmit buffer high watermark.
|
| #define | ACE_SETRXBUFLWMARK 0x0124 |
| | ACE _ioctl() command code to set the receive buffer low watermark.
|
| #define | ACE_GETRXBUFLWMARK 0x0125 |
| | ACE _ioctl() command code to query the receive buffer low watermark.
|
| #define | ACE_SETRXBUFHWMARK 0x0126 |
| | ACE _ioctl() command code to set the receive buffer high watermark.
|
| #define | ACE_GETRXBUFHWMARK 0x0127 |
| | ACE _ioctl() command code to query the receive buffer high watermark.
|
| #define | ACE_SETBLOCKREAD 0x0128 |
| | ACE _ioctl() command code to set the block read mode.
|
| #define | ACE_GETBLOCKREAD 0x0129 |
| | ACE _ioctl() command code to query the receive buffer high watermark.
|
| #define | ACE_SETFIFO 0x012a |
| | ACE _ioctl() command code to set the fifo mode and receive fifo trigger level.
|
| #define | ACE_GETFIFO 0x012b |
| | ACE _ioctl() command code to query the fifo mode and receive fifo trigger level.
|
| #define | ACE_FRAMINGERROR 0x00000001UL |
| | Framing error.
|
| #define | ACE_OVERRUNERROR 0x00000002UL |
| | Overrun error.
|
| #define | ACE_PARITYERROR 0x00000004UL |
| | Parity error.
|
| #define | ACE_ERRORS (ACE_FRAMINGERROR | ACE_OVERRUNERROR | ACE_PARITYERROR) |
| | ACE errors.
|
|
#define | ACE_RXBUFFEREMPTY 0x00000040UL |
| | Receiver buffer empty.
|
| #define | ACE_TXBUFFEREMPTY 0x00000080UL |
| | Transmitter buffer empty.
|
|
#define | ACE_RTSENABLED 0x00000100UL |
| | RTS handshake output enabled.
|
|
#define | ACE_RTSDISABLED 0x00000200UL |
| | RTS handshake output disabled.
|
|
#define | ACE_CTSENABLED 0x00000400UL |
| | CTS handshake input enabled.
|
|
#define | ACE_CTSDISABLED 0x00000800UL |
| | CTS handshake input disabled.
|
|
#define | ACE_DTRENABLED 0x00001000UL |
| | DTR handshake output enabled.
|
|
#define | ACE_DTRDISABLED 0x00002000UL |
| | DTR handshake output disabled.
|
|
#define | ACE_RXENABLED 0x00010000UL |
| | Receiver enabled.
|
|
#define | ACE_RXDISABLED 0x00020000UL |
| | Receiver enabled.
|
|
#define | ACE_TXENABLED 0x00040000UL |
| | Transmitter enabled.
|
|
#define | ACE_TXDISABLED 0x00080000UL |
| | Transmitter enabled.
|
| #define | ACE_HS_RTSCTS 0x0003 |
| | RTS / CTS hardware handshake.
|
| #define | ACE_HS_MODEM 0x001F |
| | Full modem hardware handshake.
|
| #define | ACE_HS_SOFT 0x0020 |
| | 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.
|