#[repr(transparent)]pub struct MacQ0TxFlowCtrl2(pub u32);Expand description
MAC Q0 Tx Flow Control.
Tuple Fields§
§0: u32Implementations§
Source§impl MacQ0TxFlowCtrl2
impl MacQ0TxFlowCtrl2
Sourcepub const fn fcb_bpa(&self) -> bool
pub const fn fcb_bpa(&self) -> bool
Flow Control Busy or Backpressure Activate. Raw bit values: false (0) = Disable: Flow Control Busy or Backpressure Activate is disabled.; true (1) = Enable: Flow Control Busy or Backpressure Activate is enabled.
Sourcepub const fn set_fcb_bpa(&mut self, val: bool)
pub const fn set_fcb_bpa(&mut self, val: bool)
Flow Control Busy or Backpressure Activate. Raw bit values: false (0) = Disable: Flow Control Busy or Backpressure Activate is disabled.; true (1) = Enable: Flow Control Busy or Backpressure Activate is enabled.
Sourcepub const fn tfe(&self) -> bool
pub const fn tfe(&self) -> bool
Transmit Flow Control Enable. Raw bit values: false (0) = Disable: Transmit Flow Control is disabled.; true (1) = Enable: Transmit Flow Control is enabled.
Sourcepub const fn set_tfe(&mut self, val: bool)
pub const fn set_tfe(&mut self, val: bool)
Transmit Flow Control Enable. Raw bit values: false (0) = Disable: Transmit Flow Control is disabled.; true (1) = Enable: Transmit Flow Control is enabled.
Sourcepub const fn dzpq(&self) -> bool
pub const fn dzpq(&self) -> bool
Disable Zero-Quanta Pause. Raw bit values: false (0) = Enable: Zero-Quanta Pause packet generation is enabled.; true (1) = Disable: Zero-Quanta Pause packet generation is disabled.
Trait Implementations§
Source§impl Clone for MacQ0TxFlowCtrl2
impl Clone for MacQ0TxFlowCtrl2
Source§fn clone(&self) -> MacQ0TxFlowCtrl2
fn clone(&self) -> MacQ0TxFlowCtrl2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more