#define ACE_MF_RTSSENSE 0x00000001UL
#define ACE_MF_CTSCONTROL 0x00000002UL
#define ACE_MF_DTRSENSE 0x00000004UL
#define ACE_MF_DSRCONTROL 0x00000008UL
#define ACE_MF_DCDCONTROL 0x00000010UL
#define ACE_MF_RTSCONTROL 0x00000020UL
#define ACE_MF_CTSSENSE 0x00000040UL
#define ACE_MF_DTRCONTROL 0x00000080UL
#define ACE_MF_DSRSENSE 0x00000100UL
#define ACE_MF_DCDSENSE 0x00000200UL
#define ACE_MF_SENSEMASK 0x0345
#define ACE_MF_CONTROLMASK 0x00BC
#define ACE_MF_XONXOFF 0x00000400UL
#define ACE_MF_HALFDUPLEX 0x00000800UL
#define ACE_MF_LOCALECHO 0x00010000UL
#define ACE_MF_COOKEDMODE 0x00020000UL
#define ACE_MF_NOBUFFER 0x00100000UL
#define ACE_MF_LINEBUFFER 0x00200000UL
#define ACE_MF_BUFFERMASK 0x00300000UL
#define ACE_SF_RTSOFF 0x00000001UL
#define ACE_SF_CTSOFF 0x00000002UL
#define ACE_SF_DTROFF 0x00000004UL
#define ACE_SF_DSROFF 0x00000008UL
#define ACE_SF_DCDOFF 0x00000010UL
#define ACE_SF_TXDISABLED 0x00000040UL
#define ACE_SF_RXDISABLED 0x00000080UL
#define ACE_HS_DCERTSCTS 0x00000003UL
#define ACE_HS_DCEFULL 0x0000001FUL
#define ACE_HS_DTERTSCTS 0x00000060UL
#define ACE_HS_DTEFULL 0x000003E0UL
#define ACE_HS_XONXOFF 0x00000400UL
#define ACE_CLOCK 14745600UL
#define ACE_FIFO_SIZE 16
See: | Type struct _ACEDCB |
struct _ACEDCB | |
{ | |
NUTDEVICE* dev_next; | |
u_long dcb_rtimeout; | |
u_long dcb_wtimeout; | |
HANDLE dcb_tx_rdy; | |
HANDLE dcb_rx_rdy; | |
u_long dcb_modeflags; | |
u_char dcb_rfifo; | |
u_char dcb_wfifo; | |
} |