Type Alias stm32_eth::dma::TxRingEntry

source ·
pub type TxRingEntry = RingEntry<TxDescriptor>;
Expand description

A TX DMA Ring Descriptor entry

Aliased Type§

struct TxRingEntry { /* private fields */ }

Implementations§

source§

impl TxRingEntry

source

pub fn buffer(&self) -> &[u8]

Only call this if [TxRingEntry::is_available]

source

pub fn buffer_mut(&mut self) -> &mut [u8]

Only call this if [TxRingEntry::is_available]

source§

impl TxRingEntry

source

pub fn has_packet_id(&self, packet_id: &PacketId) -> bool

source

pub fn timestamp(&self) -> Option<Timestamp>