UART device control block structure. More...
#include <dev/uartavr.h>
Data Fields | |
uint8_t | dcb_baudSelect |
Baudrate selector. | |
uint32_t | dcb_rtimeout |
Read timeout. | |
uint32_t | dcb_wtimeout |
Write timeout. | |
HANDLE | dcb_tx_rdy |
Queue of threads waiting for output buffer empty. | |
HANDLE | dcb_rx_rdy |
Queue of threads waiting for a character in the input buffer. | |
uint32_t | dcb_modeflags |
Mode flags. |
UART device control block structure.
Baudrate selector.
See the ATmega datasheet for further details.
Read timeout.
Referenced by UartAvrInput(), and UartAvrIOCtl().
Write timeout.
Referenced by UartAvrIOCtl().
Queue of threads waiting for output buffer empty.
Threads are added to this queue when calling UartAvrFlush().
Referenced by UartAvrFlush().
Queue of threads waiting for a character in the input buffer.
Threads are added to this queue when calling UartAvrInput().
Referenced by UartAvrInput().
Mode flags.
Referenced by UartAvrInit(), UartAvrIOCtl(), UartAvrOpen(), UartAvrPut(), and UartAvrRead().