#[repr(transparent)]pub struct Mdatactrl2(pub u32);Expand description
Controller Data Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Mdatactrl2
impl Mdatactrl2
Sourcepub const fn flushtb(&self) -> bool
pub const fn flushtb(&self) -> bool
Flush To-Bus Buffer or FIFO. Raw bit values: false (0) = NoAction: No action.; true (1) = Flush: Flush the buffer.
Sourcepub const fn set_flushtb(&mut self, val: bool)
pub const fn set_flushtb(&mut self, val: bool)
Flush To-Bus Buffer or FIFO. Raw bit values: false (0) = NoAction: No action.; true (1) = Flush: Flush the buffer.
Sourcepub const fn flushfb(&self) -> bool
pub const fn flushfb(&self) -> bool
Flush From-Bus Buffer or FIFO. Raw bit values: false (0) = NoAction: No action.; true (1) = Flush: Flush the buffer.
Sourcepub const fn set_flushfb(&mut self, val: bool)
pub const fn set_flushfb(&mut self, val: bool)
Flush From-Bus Buffer or FIFO. Raw bit values: false (0) = NoAction: No action.; true (1) = Flush: Flush the buffer.
Sourcepub const fn unlock(&self) -> bool
pub const fn unlock(&self) -> bool
Unlock. Raw bit values: false (0) = Disabled: Locked.; true (1) = Enabled: Unlocked.
Sourcepub const fn set_unlock(&mut self, val: bool)
pub const fn set_unlock(&mut self, val: bool)
Unlock. Raw bit values: false (0) = Disabled: Locked.; true (1) = Enabled: Unlocked.
Sourcepub const fn set_txtrig(&mut self, val: Txtrig)
pub const fn set_txtrig(&mut self, val: Txtrig)
Transmit Trigger Level.
Sourcepub const fn set_rxtrig(&mut self, val: Rxtrig)
pub const fn set_rxtrig(&mut self, val: Rxtrig)
Receive Trigger Level.
Sourcepub const fn set_txcount(&mut self, val: u8)
pub const fn set_txcount(&mut self, val: u8)
Transmit Byte Count.
Sourcepub const fn set_rxcount(&mut self, val: u8)
pub const fn set_rxcount(&mut self, val: u8)
Receive Byte Count.
Sourcepub const fn txfull(&self) -> bool
pub const fn txfull(&self) -> bool
Transmit is Full. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn set_txfull(&mut self, val: bool)
pub const fn set_txfull(&mut self, val: bool)
Transmit is Full. Raw bit values: false (0) = NotFull: Not full.; true (1) = Full: Full.
Sourcepub const fn rxempty(&self) -> bool
pub const fn rxempty(&self) -> bool
Receive is Empty. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Sourcepub const fn set_rxempty(&mut self, val: bool)
pub const fn set_rxempty(&mut self, val: bool)
Receive is Empty. Raw bit values: false (0) = NotEmpty: Not empty.; true (1) = Empty: Empty.
Trait Implementations§
Source§impl Clone for Mdatactrl2
impl Clone for Mdatactrl2
Source§fn clone(&self) -> Mdatactrl2
fn clone(&self) -> Mdatactrl2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more