File nut/include/dev/uart.h


Included Files


Preprocessor definitions

#define _DEV_UART_H

#define UART_SETSPEED 0x0101

#define UART_GETSPEED 0x0102

#define UART_SETDATABITS 0x0103

#define UART_GETDATABITS 0x0104

#define UART_SETPARITY 0x0105

#define UART_GETPARITY 0x0106

#define UART_SETSTOPBITS 0x0107

#define UART_GETSTOPBITS 0x0108

#define UART_SETSTATUS 0x0109

#define UART_GETSTATUS 0x010a

#define UART_SETREADTIMEOUT 0x010b

#define UART_GETREADTIMEOUT 0x010c

#define UART_SETWRITETIMEOUT 0x010d

#define UART_GETWRITETIMEOUT 0x010e

#define UART_SETLOCALECHO 0x010f

#define UART_GETLOCALECHO 0x0110

#define UART_SETFLOWCONTROL 0x0111

#define UART_GETFLOWCONTROL 0x0112

#define UART_SETCOOKEDMODE 0x0113

#define UART_GETCOOKEDMODE 0x0114

#define UART_SETBUFFERMODE 0x0115

#define UART_GETBUFFERMODE 0x0116

#define HDLC_SETIFNET 0x0117

#define HDLC_GETIFNET 0x0118

#define UART_SETCLOCKMODE 0x0119

#define UART_GETCLOCKMODE 0x011a

#define UART_SETTXBUFSIZ 0x011b

#define UART_GETTXBUFSIZ 0x011c

#define UART_SETRXBUFSIZ 0x011d

#define UART_GETRXBUFSIZ 0x011e

#define UART_SETTXBUFLWMARK 0x0120

#define UART_GETTXBUFLWMARK 0x0121

#define UART_SETTXBUFHWMARK 0x0122

#define UART_GETTXBUFHWMARK 0x0123

#define UART_SETRXBUFLWMARK 0x0124

#define UART_GETRXBUFLWMARK 0x0125

#define UART_SETRXBUFHWMARK 0x0126

#define UART_GETRXBUFHWMARK 0x0127

#define UART_SETBLOCKREAD 0x0128

#define UART_GETBLOCKREAD 0x0129

#define UART_SETBLOCKWRITE 0x012a

#define UART_GETBLOCKWRITE 0x012b

#define UART_SETRAWMODE 0x012c

#define UART_GETRAWMODE 0x012d

#define HDLC_SETTXACCM 0x012e

#define HDLC_GETTXACCM 0x012f

#define UART_SETHDPXMODE 0x0130

#define UART_GETHDPXMODE 0x0131

#define UART_SETOWIMODE 0x0132

#define UART_GETOWIMODE 0x0133

#define UART_FRAMINGERROR 0x00000001UL

#define UART_OVERRUNERROR 0x00000002UL

#define UART_PARITYERROR 0x00000004UL

#define UART_ERRORS

#define UART_RXBUFFEREMPTY 0x00000040UL

#define UART_TXBUFFEREMPTY 0x00000080UL

#define UART_RTSENABLED 0x00000100UL

#define UART_RTSDISABLED 0x00000200UL

#define UART_CTSENABLED 0x00000400UL

#define UART_CTSDISABLED 0x00000800UL

#define UART_DTRENABLED 0x00001000UL

#define UART_DTRDISABLED 0x00002000UL

#define UART_RXENABLED 0x00010000UL

#define UART_RXDISABLED 0x00020000UL

#define UART_TXENABLED 0x00040000UL

#define UART_TXDISABLED 0x00080000UL

#define UART_RXADDRFRAME 0x00100000UL

#define UART_RXNORMFRAME 0x00200000UL

#define UART_TXADDRFRAME 0x00400000UL

#define UART_TXNORMFRAME 0x00800000UL

#define UART_HS_RTSCTS 0x0003

#define UART_HS_MODEM 0x001F

#define UART_HS_SOFT 0x0020

#define UART_HS_HALFDUPLEX 0x0400

#define UART_SYNC 0x01

#define UART_MASTER 0x02

#define UART_NCLOCK 0x04

#define UART_HIGHSPEED 0x20

#define UART_ASYNC 0x00

#define UART_SYNCSLAVE UART_SYNC

#define UART_SYNCMASTER

#define UART_NSYNCSLAVE

#define UART_NSYNCMASTER

#define UART_ASYNC_HS UART_HIGHSPEED