Nut/OS  5.0.5
API Reference
XgACEStatus

ACE device status flags,. More...

Collaboration diagram for XgACEStatus:

Defines

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

Detailed Description

ACE device status flags,.

A combination of these status flags is used by the _ioctl() commands ACE_SETSTATUS and ACE_GETSTATUS.


Define Documentation

#define ACE_FRAMINGERROR   0x00000001UL

Framing error.

ACE_SETSTATUS will clear this error.

#define ACE_OVERRUNERROR   0x00000002UL

Overrun error.

ACE_SETSTATUS will clear this error.

#define ACE_PARITYERROR   0x00000004UL

Parity error.

ACE_SETSTATUS will clear this error.

#define ACE_ERRORS   (ACE_FRAMINGERROR | ACE_OVERRUNERROR | ACE_PARITYERROR)

ACE errors.

ACE_SETSTATUS will clear all errors.

#define ACE_RXBUFFEREMPTY   0x00000040UL

Receiver buffer empty.

#define ACE_TXBUFFEREMPTY   0x00000080UL

Transmitter buffer empty.

ACE_SETSTATUS will immediately clear the buffer. It will not wait until the remaining characters have been transmitted.

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