ether2ser 0.1.0
Ethernet <-> synchronous V.24 bridge firmware for RP2040 + W5500
Loading...
Searching...
No Matches
TX_QUEUE_ENTRY_T Struct Reference

One queued HDLC frame plus drain offset state. More...

#include <tx_queue.h>

Collaboration diagram for TX_QUEUE_ENTRY_T:

Data Fields

uint8_t payload [TX_FRAME_MAX_SIZE_BYTE]
 
HDLC_FRAME_T frame
 
size_t offset
 

Detailed Description

One queued HDLC frame plus drain offset state.

Definition at line 59 of file tx_queue.h.

Field Documentation

◆ frame

HDLC_FRAME_T TX_QUEUE_ENTRY_T::frame

Encoded frame descriptor.

Definition at line 64 of file tx_queue.h.

Referenced by print_status_event(), tx_queue_drain(), tx_queue_drain_bytes(), tx_queue_enqueue_udp_frame(), and tx_queue_is_empty().

◆ offset

size_t TX_QUEUE_ENTRY_T::offset

Number of bytes already drained to TX FIFO.

Definition at line 66 of file tx_queue.h.

Referenced by print_status_event(), tx_queue_drain(), tx_queue_drain_bytes(), and tx_queue_is_empty().

◆ payload

uint8_t TX_QUEUE_ENTRY_T::payload[TX_FRAME_MAX_SIZE_BYTE]

Backing payload storage for the encoded frame.

Definition at line 62 of file tx_queue.h.

Referenced by tx_queue_drain(), and tx_queue_enqueue_udp_frame().


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