#[repr(transparent)]pub struct Sdatactrl2(pub u32);Expand description
Target Data Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Sdatactrl2
impl Sdatactrl2
Sourcepub const fn set_flushtb(&mut self, val: bool)
pub const fn set_flushtb(&mut self, val: bool)
Flush To-Bus Buffer or FIFO.
Sourcepub const fn set_flushfb(&mut self, val: bool)
pub const fn set_flushfb(&mut self, val: bool)
Flush From-Bus Buffer or FIFO.
Sourcepub const fn unlock(&self) -> bool
pub const fn unlock(&self) -> bool
Unlock. Raw bit values: false (0) = Disabled: Cannot be changed.; true (1) = Enabled: Can be changed.
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: Cannot be changed.; true (1) = Enabled: Can be changed.
Sourcepub const fn set_txtrig(&mut self, val: Txtrig2)
pub const fn set_txtrig(&mut self, val: Txtrig2)
Transmit Trigger Level.
Sourcepub const fn set_rxtrig(&mut self, val: Rxtrig2)
pub const fn set_rxtrig(&mut self, val: Rxtrig2)
Receive Trigger Level.
Sourcepub const fn set_txcount(&mut self, val: u8)
pub const fn set_txcount(&mut self, val: u8)
Count of Bytes in Transmit.
Sourcepub const fn set_rxcount(&mut self, val: u8)
pub const fn set_rxcount(&mut self, val: u8)
Count of Bytes in Receive.
Sourcepub const fn txfull(&self) -> bool
pub const fn txfull(&self) -> bool
Transmit is Full. Raw bit values: false (0) = Txisnotfull: Not full.; true (1) = Txisfull: 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) = Txisnotfull: Not full.; true (1) = Txisfull: Full.
Sourcepub const fn rxempty(&self) -> bool
pub const fn rxempty(&self) -> bool
Receive is Empty. Raw bit values: false (0) = Rxisnotempty: Not empty.; true (1) = Rxisempty: 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) = Rxisnotempty: Not empty.; true (1) = Rxisempty: Empty.
Trait Implementations§
Source§impl Clone for Sdatactrl2
impl Clone for Sdatactrl2
Source§fn clone(&self) -> Sdatactrl2
fn clone(&self) -> Sdatactrl2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more