Nut/OS  4.10.3
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.

Definition at line 333 of file ace.h.

#define ACE_OVERRUNERROR   0x00000002UL

Overrun error.

ACE_SETSTATUS will clear this error.

Definition at line 339 of file ace.h.

#define ACE_PARITYERROR   0x00000004UL

Parity error.

ACE_SETSTATUS will clear this error.

Definition at line 345 of file ace.h.

#define ACE_ERRORS   (ACE_FRAMINGERROR | ACE_OVERRUNERROR | ACE_PARITYERROR)

ACE errors.

ACE_SETSTATUS will clear all errors.

Definition at line 351 of file ace.h.

#define ACE_RXBUFFEREMPTY   0x00000040UL

Receiver buffer empty.

Definition at line 355 of file ace.h.

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

Definition at line 362 of file ace.h.

#define ACE_RTSENABLED   0x00000100UL

RTS handshake output enabled.

Definition at line 366 of file ace.h.

#define ACE_RTSDISABLED   0x00000200UL

RTS handshake output disabled.

Definition at line 370 of file ace.h.

#define ACE_CTSENABLED   0x00000400UL

CTS handshake input enabled.

Definition at line 374 of file ace.h.

#define ACE_CTSDISABLED   0x00000800UL

CTS handshake input disabled.

Definition at line 378 of file ace.h.

#define ACE_DTRENABLED   0x00001000UL

DTR handshake output enabled.

Definition at line 382 of file ace.h.

#define ACE_DTRDISABLED   0x00002000UL

DTR handshake output disabled.

Definition at line 386 of file ace.h.

#define ACE_RXENABLED   0x00010000UL

Receiver enabled.

Definition at line 390 of file ace.h.

#define ACE_RXDISABLED   0x00020000UL

Receiver enabled.

Definition at line 394 of file ace.h.

#define ACE_TXENABLED   0x00040000UL

Transmitter enabled.

Definition at line 398 of file ace.h.

#define ACE_TXDISABLED   0x00080000UL

Transmitter enabled.

Definition at line 402 of file ace.h.