Nut/OS  5.0.5
API Reference
_UARTDCB Struct Reference

UART device control block structure. More...

#include <dev/uartavr.h>

Collaboration diagram for _UARTDCB:
[legend]

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.

Detailed Description

UART device control block structure.


Field Documentation

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().


The documentation for this struct was generated from the following files: