Nut/OS  4.10.3
API Reference
uartavr.h File Reference

AVR on-chip UART definitions. More...

#include <sys/device.h>
#include <dev/uart.h>
Include dependency graph for uartavr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _UARTDCB
 UART device control block structure. More...

Defines

#define UART_MF_RTSSENSE   0x00000001UL
#define UART_MF_CTSCONTROL   0x00000002UL
#define UART_MF_DTRSENSE   0x00000004UL
#define UART_MF_DSRCONTROL   0x00000008UL
#define UART_MF_DCDCONTROL   0x00000010UL
#define UART_MF_RTSCONTROL   0x00000020UL
#define UART_MF_CTSSENSE   0x00000040UL
#define UART_MF_DTRCONTROL   0x00000080UL
#define UART_MF_DSRSENSE   0x00000100UL
#define UART_MF_DCDSENSE   0x00000200UL
#define UART_MF_SENSEMASK   0x0345
#define UART_MF_CONTROLMASK   0x00BC
#define UART_MF_XONXOFF   0x00000400UL
#define UART_MF_LOCALECHO   0x00010000UL
#define UART_MF_COOKEDMODE   0x00020000UL
#define UART_MF_NOBUFFER   0x00100000UL
#define UART_MF_LINEBUFFER   0x00200000UL
#define UART_MF_BUFFERMASK   0x00300000UL
#define UART_MF_RAWMODE   0x00400000UL
#define UART_SF_RTSOFF   0x00000001UL
#define UART_SF_CTSOFF   0x00000002UL
#define UART_SF_DTROFF   0x00000004UL
#define UART_SF_DSROFF   0x00000008UL
#define UART_SF_DCDOFF   0x00000010UL
#define HDLC_SF_FLUSH   0x00001000UL
#define HDLC_SF_ESCAPED   0x00002000UL
#define UART_SF_TXDISABLED   0x00000040UL
#define UART_SF_RXDISABLED   0x00000080UL
#define UART_HS_DCERTSCTS   0x00000003UL
#define UART_HS_DCEFULL   0x0000001FUL
#define UART_HS_DTERTSCTS   0x00000060UL
#define UART_HS_DTEFULL   0x000003E0UL
#define UART_HS_XONXOFF   0x00000400UL

Typedefs

typedef struct _UARTDCB UARTDCB

Variables

NUTDEVICE devUart0
 UART 0 Device information structure.
NUTDEVICE devUart1
 UART 1 Device information structure.

Detailed Description

AVR on-chip UART definitions.

Definition in file uartavr.h.