#[repr(transparent)]pub struct FifoCtrl(pub u32);Expand description
FIFO Control
Tuple Fields§
§0: u32Implementations§
Source§impl FifoCtrl
impl FifoCtrl
Sourcepub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
FIFO enable.
Sourcepub const fn set_resetn(&mut self, val: Resetn)
pub const fn set_resetn(&mut self, val: Resetn)
FIFO reset.
Sourcepub const fn set_triglvl(&mut self, val: u8)
pub const fn set_triglvl(&mut self, val: u8)
Trigger level for interrupt
Trait Implementations§
impl Copy for FifoCtrl
impl Eq for FifoCtrl
impl StructuralPartialEq for FifoCtrl
Auto Trait Implementations§
impl Freeze for FifoCtrl
impl RefUnwindSafe for FifoCtrl
impl Send for FifoCtrl
impl Sync for FifoCtrl
impl Unpin for FifoCtrl
impl UnwindSafe for FifoCtrl
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