Struct stm32_metapac::otg::regs::Hnptxsts
#[repr(transparent)]pub struct Hnptxsts(pub u32);
Expand description
Non-periodic transmit FIFO/queue status register
Tuple Fields§
§0: u32
Implementations§
§impl Hnptxsts
impl Hnptxsts
pub fn set_nptxfsav(&mut self, val: u16)
pub fn set_nptxfsav(&mut self, val: u16)
Non-periodic TxFIFO space available
pub fn set_nptqxsav(&mut self, val: u8)
pub fn set_nptqxsav(&mut self, val: u8)
Non-periodic transmit request queue space available
pub fn set_nptxqtop(&mut self, val: u8)
pub fn set_nptxqtop(&mut self, val: u8)
Top of the non-periodic transmit request queue
Trait Implementations§
impl Copy for Hnptxsts
impl Eq for Hnptxsts
impl StructuralPartialEq for Hnptxsts
Auto Trait Implementations§
impl Freeze for Hnptxsts
impl RefUnwindSafe for Hnptxsts
impl Send for Hnptxsts
impl Sync for Hnptxsts
impl Unpin for Hnptxsts
impl UnwindSafe for Hnptxsts
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)