AHDLCDCB Struct Reference
Asynchronous HDLC device information structure.
More...
Detailed Description
Asynchronous HDLC device information structure.
Asynchronous HDLC device information type.
The start of this structure is equal to the UARTDCB structure.
Definition at line 82 of file ahdlc.h.
Field Documentation
Mode flags.
Definition at line 86 of file ahdlc.h.
Status flags.
Definition at line 90 of file ahdlc.h.
Read timeout.
Definition at line 94 of file ahdlc.h.
Write timeout.
Definition at line 98 of file ahdlc.h.
Queue of threads waiting for output buffer empty.
Threads are added to this queue when the output buffer is full or when flushing the output buffer.
Definition at line 105 of file ahdlc.h.
Queue of threads waiting for a character in the input buffer.
Threads are added to this queue when the output buffer is empty.
Definition at line 112 of file ahdlc.h.
Hardware base address.
This is a copy of the base address in the NUTDEVICE structure and required by the interrupt routine.
Definition at line 119 of file ahdlc.h.
volatile uint8_t* AHDLCDCB::dcb_rx_buf |
Input buffer.
This buffer is filled by the the receiver interrupt, so the contents of the buffer is volatile.
Definition at line 126 of file ahdlc.h.
volatile uint8_t AHDLCDCB::dcb_rx_idx |
Input buffer index for next incoming byte.
This volatile index is incremented by the receiver interrupt.
Definition at line 132 of file ahdlc.h.
Input buffer index for next byte to read.
Definition at line 136 of file ahdlc.h.
Output buffer.
Definition at line 140 of file ahdlc.h.
volatile uint8_t AHDLCDCB::dcb_tx_idx |
Output buffer index for next outgoing byte.
This volatile index is incremented by the transmit interrupt.
Definition at line 146 of file ahdlc.h.
Output buffer index for next byte to write.
Definition at line 150 of file ahdlc.h.
HDLC mode change event queue.
The frame receiver thread is waiting on this queue until the device is switched to HDLC mode.
Definition at line 157 of file ahdlc.h.
32-bit receive ACCM.
Definition at line 161 of file ahdlc.h.
256-bit transmit ACCM.
Definition at line 165 of file ahdlc.h.
Maximum receive MRU.
Definition at line 169 of file ahdlc.h.
Maximum transmit MRU.
Definition at line 173 of file ahdlc.h.
The documentation for this struct was generated from the following file: