Nut/OS  4.10.3
API Reference
_UARTDCB Struct Reference

UART device control block structure. More...

#include <dev/uartavr.h>

Collaboration diagram for _UARTDCB:

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.

Definition at line 116 of file scih8.h.


Field Documentation

Baudrate selector.

See the ATmega datasheet for further details.

Definition at line 121 of file scih8.h.

Read timeout.

Definition at line 125 of file scih8.h.

Referenced by UartAvrInput(), and UartAvrIOCtl().

Write timeout.

Definition at line 129 of file scih8.h.

Referenced by UartAvrIOCtl().

Queue of threads waiting for output buffer empty.

Threads are added to this queue when calling UartAvrFlush().

Definition at line 135 of file scih8.h.

Referenced by UartAvrFlush().

Queue of threads waiting for a character in the input buffer.

Threads are added to this queue when calling UartAvrInput().

Definition at line 141 of file scih8.h.

Referenced by UartAvrInput().

Mode flags.

Definition at line 145 of file scih8.h.

Referenced by UartAvrInit(), UartAvrIOCtl(), UartAvrOpen(), UartAvrPut(), and UartAvrRead().


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