#[repr(transparent)]pub struct MtlOperationMode2(pub u32);Expand description
MTL Operation Mode.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlOperationMode2
impl MtlOperationMode2
Sourcepub const fn dtxsts(&self) -> bool
pub const fn dtxsts(&self) -> bool
Drop Transmit Status. Raw bit values: false (0) = Disable: Drop Transmit Status is disabled.; true (1) = Enable: Drop Transmit Status is enabled.
Sourcepub const fn set_dtxsts(&mut self, val: bool)
pub const fn set_dtxsts(&mut self, val: bool)
Drop Transmit Status. Raw bit values: false (0) = Disable: Drop Transmit Status is disabled.; true (1) = Enable: Drop Transmit Status is enabled.
Sourcepub const fn raa(&self) -> bool
pub const fn raa(&self) -> bool
Receive Arbitration Algorithm. Raw bit values: false (0) = Sp: Strict priority (SP).; true (1) = Wsp: Weighted Strict Priority (WSP).
Sourcepub const fn set_raa(&mut self, val: bool)
pub const fn set_raa(&mut self, val: bool)
Receive Arbitration Algorithm. Raw bit values: false (0) = Sp: Strict priority (SP).; true (1) = Wsp: Weighted Strict Priority (WSP).
Sourcepub const fn set_schalg(&mut self, val: Schalg)
pub const fn set_schalg(&mut self, val: Schalg)
Tx Scheduling Algorithm.
Sourcepub const fn cntprst(&self) -> bool
pub const fn cntprst(&self) -> bool
Counters Preset. Raw bit values: false (0) = Disable: Counters Preset is disabled.; true (1) = Enable: Counters Preset is enabled.
Sourcepub const fn set_cntprst(&mut self, val: bool)
pub const fn set_cntprst(&mut self, val: bool)
Counters Preset. Raw bit values: false (0) = Disable: Counters Preset is disabled.; true (1) = Enable: Counters Preset is enabled.
Sourcepub const fn cntclr(&self) -> bool
pub const fn cntclr(&self) -> bool
Counters Reset. Raw bit values: false (0) = Disable: Counters are not reset.; true (1) = Enable: All counters are reset.
Sourcepub const fn set_cntclr(&mut self, val: bool)
pub const fn set_cntclr(&mut self, val: bool)
Counters Reset. Raw bit values: false (0) = Disable: Counters are not reset.; true (1) = Enable: All counters are reset.
Trait Implementations§
Source§impl Clone for MtlOperationMode2
impl Clone for MtlOperationMode2
Source§fn clone(&self) -> MtlOperationMode2
fn clone(&self) -> MtlOperationMode2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more