Defines | |
#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. |
|
ACE _ioctl() commands. ACE _ioctl() command code to set the line speed. The configuration parameter specifies the input and output bit rate per second. |
|
ACE _ioctl() command code to query the line speed. The configuration parameter is set to the input and output bit rate per second. |
|
ACE _ioctl() command code to set the number of data bits. The configuration parameter specifies the number of data bits, 5, 6, 7, 8 or 9. |
|
ACE _ioctl() command code to query the number of data bits. The configuration parameter is set to the number of data bits, 5, 6, 7, 8 or 9. |
|
ACE _ioctl() command code to set the parity mode. The configuration parameter specifies the type of the parity bit, 0 (none), 1 (odd), 2 (even), 3 (mark) or 4 (space). |
|
ACE _ioctl() command code to query the parity mode. The configuration parameter is set to the type of the parity bit, 0 (none), 1 (odd), 2 (even), 3 (mark) or 4 (space). |
|
ACE _ioctl() command code to set the number of stop bits. The configuration parameter specifies the number of stop bits, 1 or 2. |
|
ACE _ioctl() command code to query the number of stop bits. The configuration parameter is set to the number of stop bits, 1 or 2. |
|
ACE _ioctl() command code to set the status. The configuration parameter specifies the status to set. |
|
ACE _ioctl() command code to query the status. The configuration parameter is set to the current status. |
|
ACE _ioctl() command code to set the read timeout. The configuration parameter specifies the read timeout in milliseconds. |
|
ACE _ioctl() command code to query the read timeout. The configuration parameter is set to the read timeout in milliseconds. |
|
ACE _ioctl() command code to set the write timeout. The configuration parameter specifies the write timeout in milliseconds. |
|
ACE _ioctl() command code to query the write timeout. The configuration parameter is set to the write timeout in milliseconds. |
|
ACE _ioctl() command code to set the local echo mode. The configuration parameter specifies the local echo mode, 0 (off) or 1 (on). |
|
ACE _ioctl() command code to query the local echo mode. The configuration parameter is set to the local echo mode, 0 (off) or 1 (on). |
|
ACE _ioctl() command code to set the flow control mode. The configuration parameter specifies the flow control mode. |
|
ACE _ioctl() command code to query the flow control mode. The configuration parameter is set to the flow control mode. |
|
ACE _ioctl() command code to set the cooking mode. The configuration parameter specifies the character cooking mode, 0 (raw) or 1 (EOL translation). |
|
ACE _ioctl() command code to query the cooking mode. The configuration parameter is set to the character cooking mode, 0 (raw) or 1 (EOL translation). |
|
ACE _ioctl() command code to set the buffering mode. The configuration parameter specifies the buffering mode. |
|
ACE _ioctl() command code to query the buffering mode. The configuration parameter is set to the buffering mode. |
|
ACE _ioctl() command code to set the transmit buffer size. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the transmit buffer size. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the receive buffer size. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the receive buffer size. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the transmit buffer low watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the transmit buffer low watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the transmit buffer high watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the transmit buffer high watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the receive buffer low watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the receive buffer low watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the receive buffer high watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to query the receive buffer high watermark. The configuration parameter specifies the number of bytes. |
|
ACE _ioctl() command code to set the block read mode. The configuration parameter specifies the block read mode |
|
ACE _ioctl() command code to query the receive buffer high watermark. The configuration parameter specifies the block read mode |
|
ACE _ioctl() command code to set the fifo mode and receive fifo trigger level. The configuration parameter specifies the receive fifo trigger level (x,1,4,8,14), x - disables fifo |
|
ACE _ioctl() command code to query the fifo mode and receive fifo trigger level. The configuration parameter specifies the receive fifo trigger level (x,1,4,8,14), x - fifo is disabled |