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

TX queue runtime state. More...

#include <tx_queue.h>

Collaboration diagram for TX_QUEUE_T:

Data Fields

TX_QUEUE_ENTRY_T current_entry
 
Ringbuffer queue_buffer
 
bool queue_touched
 
uint64_t tx_wire_bytes
 
uint32_t current_frame_cts_seq_start
 
bool current_frame_cts_seq_valid
 

Detailed Description

TX queue runtime state.

Definition at line 72 of file tx_queue.h.

Field Documentation

◆ current_entry

TX_QUEUE_ENTRY_T TX_QUEUE_T::current_entry

Currently active entry being drained to PIO.

Definition at line 75 of file tx_queue.h.

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

◆ current_frame_cts_seq_start

uint32_t TX_QUEUE_T::current_frame_cts_seq_start

CTS edge sequence captured when current frame started draining.

Definition at line 83 of file tx_queue.h.

Referenced by tx_queue_drain(), and tx_queue_init().

◆ current_frame_cts_seq_valid

bool TX_QUEUE_T::current_frame_cts_seq_valid

Whether current_frame_cts_seq_start is valid for current frame.

Definition at line 85 of file tx_queue.h.

Referenced by tx_queue_drain(), and tx_queue_init().

◆ queue_buffer

Ringbuffer TX_QUEUE_T::queue_buffer

◆ queue_touched

bool TX_QUEUE_T::queue_touched

Flag used to trigger periodic queue stats printouts.

Definition at line 79 of file tx_queue.h.

Referenced by poll_queue_stats(), tx_queue_enqueue_udp_frame(), and tx_queue_init().

◆ tx_wire_bytes

uint64_t TX_QUEUE_T::tx_wire_bytes

Total bytes pushed to wire via TX FIFO.

Definition at line 81 of file tx_queue.h.

Referenced by print_status_event(), tx_queue_drain_bytes(), and tx_queue_init().


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