[][src]Type Definition lpc54606_pac::enet::mtl_queue::mtl_rxqx_dbg::R

type R = R<u32, MTL_RXQX_DBG>;

Reader of register MTL_RXQx_DBG

Methods

impl R[src]

pub fn rwcsts(&self) -> RWCSTS_R[src]

Bit 0 - MTL Rx Queue Write Controller Active Status When high, this bit indicates that the MTL Rx queue Write controller is active, and it is transferring a received packet to the Rx Queue.

pub fn rrcsts(&self) -> RRCSTS_R[src]

Bits 1:2 - MTL Rx Queue Read Controller State This field gives the state of the Rx queue Read controller: 00: Idle state 01: Reading packet data 10: Reading packet status (or timestamp) 11: Flushing the packet data and status.

pub fn rxqsts(&self) -> RXQSTS_R[src]

Bits 4:5 - MTL Rx Queue Fill-Level Status This field gives the status of the fill-level of the Rx Queue: 0x0: Rx Queue empty 0x1: Rx Queue fill-level below flow-control deactivate threshold 0x2: Rx Queue fill-level above flow-control activate threshold 0x3: Rx Queue full.

pub fn prxq(&self) -> PRXQ_R[src]

Bits 16:29 - Number of Packets in Receive Queue This field indicates the current number of packets in the Rx Queue.