#[repr(transparent)]pub struct Cfgr0(pub u32);Expand description
Configuration 0.
Tuple Fields§
§0: u32Implementations§
Source§impl Cfgr0
impl Cfgr0
Sourcepub const fn hrsel(&self) -> bool
pub const fn hrsel(&self) -> bool
Host Request Select. Raw bit values: false (0) = Hreqpin: HREQ pin.; true (1) = InputTrigger: Input trigger.
Sourcepub const fn set_hrsel(&mut self, val: bool)
pub const fn set_hrsel(&mut self, val: bool)
Host Request Select. Raw bit values: false (0) = Hreqpin: HREQ pin.; true (1) = InputTrigger: Input trigger.
Sourcepub const fn hrdir(&self) -> bool
pub const fn hrdir(&self) -> bool
Host Request Direction. Raw bit values: false (0) = Input: Input.; true (1) = Output: Output.
Sourcepub const fn set_hrdir(&mut self, val: bool)
pub const fn set_hrdir(&mut self, val: bool)
Host Request Direction. Raw bit values: false (0) = Input: Input.; true (1) = Output: Output.
Sourcepub const fn set_cirfifo(&mut self, val: bool)
pub const fn set_cirfifo(&mut self, val: bool)
Circular FIFO Enable.
Trait Implementations§
impl Copy for Cfgr0
impl Eq for Cfgr0
impl StructuralPartialEq for Cfgr0
Auto Trait Implementations§
impl Freeze for Cfgr0
impl RefUnwindSafe for Cfgr0
impl Send for Cfgr0
impl Sync for Cfgr0
impl Unpin for Cfgr0
impl UnwindSafe for Cfgr0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more