Defines | |
| #define | UART_SETSPEED |
| Set baudrate. | |
| #define | UART_GETSPEED |
| Query baudrate. | |
| #define | UART_SETDATABITS |
| Set number of data bits. | |
| #define | UART_GETDATABITS |
| Set number of data bits. | |
| #define | UART_SETPARITY |
| Set parity. | |
| #define | UART_GETPARITY |
| Query parity. | |
| #define | UART_SETSTOPBITS |
| Set number of stop bits. | |
| #define | UART_GETSTOPBITS |
| Query number of stop bits. | |
| #define | UART_SETSTATUS |
| Set status. | |
| #define | UART_GETSTATUS |
| Query status. | |
| #define | UART_SETREADTIMEOUT |
| Set read timeout. | |
| #define | UART_GETREADTIMEOUT |
| Query read timeout. | |
| #define | UART_SETWRITETIMEOUT |
| Set write timeout. | |
| #define | UART_GETWRITETIMEOUT |
| Query write timeout. | |
| #define | UART_SETLOCALECHO |
| Set local echo mode. | |
| #define | UART_GETLOCALECHO |
| Query local echo mode. | |
| #define | UART_SETFLOWCONTROL |
| Set flow control flags. | |
| #define | UART_GETFLOWCONTROL |
| Query flow control flags. | |
| #define | UART_SETCOOKEDMODE |
| Set raw mode. | |
| #define | UART_GETCOOKEDMODE |
| Query raw mode. | |
| #define | UART_SETBUFFERMODE |
| Set buffering mode. | |
| #define | UART_GETBUFFERMODE |
| Query buffering mode. | |
| #define | HDLC_SETIFNET |
| Set network interface mode. | |
| #define | HDLC_GETIFNET |
| Query network interface mode. | |
| #define | DIO_SETSTATUS |
| Set digital output status. | |
| #define | DIO_GETSTATUS |
| Query digital input status. | |
| #define | DIO_WAITSTATUS |
| Wait for digital input status change. | |
| #define | UART_FRAMINGERROR |
| Framing error. | |
| #define | UART_OVERRUNERROR |
| Overrun error. | |
| #define | UART_RXBUFFEREMPTY |
| Receiver buffer empty. | |
| #define | UART_TXBUFFEREMPTY |
| Transmitter buffer empty. | |
| #define | UART_RTSENABLED |
| RTS handshake output enabled. | |
| #define | UART_RTSDISABLED |
| RTS handshake output disabled. | |
| #define | UART_CTSENABLED |
| CTS handshake input enabled. | |
| #define | UART_CTSDISABLED |
| CTS handshake input disabled. | |
| #define | UART_DTRENABLED |
| DTR handshake output enabled. | |
| #define | UART_DTRDISABLED |
| DTR handshake output disabled. | |
Functions | |
| int | UartAvrInit (NUTDEVICE *dev) |
| Initialize on chip uart device. | |
| int | UartAvrIOCtl (NUTDEVICE *dev, int req, void *conf) |
| Perform on-chip UART control functions. | |
| int | UartAvrInput (NUTDEVICE *dev) |
| Wait for input. | |
| int | UartAvrOutput (NUTDEVICE *dev) |
| Initiate output. | |
| int | UartAvrFlush (NUTDEVICE *dev) |
| Wait for output buffer empty. | |
| int | UartAvrGetRaw (u_char *cp) |
| Get raw byte from the UART receiver register. | |
| int | UartAvrPutRaw (u_char ch) |
| Put raw byte to the UART transmit register. | |
| int | UartAvrRead (NUTFILE *fp, void *buffer, int size) |
| Read from device. | |
| NUTFILE * | UartAvrOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
| Open a device or file. | |
| int | UartAvrClose (NUTFILE *fp) |
| Close a device or file. | |