Struct stm32_metapac::otg::regs::Hprt
#[repr(transparent)]pub struct Hprt(pub u32);
Expand description
Host port control and status register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Hprt
impl Hprt
pub fn set_penchng(&mut self, val: bool)
pub fn set_penchng(&mut self, val: bool)
Port enable/disable change
pub fn set_pocchng(&mut self, val: bool)
pub fn set_pocchng(&mut self, val: bool)
Port overcurrent change
Trait Implementationsยง
impl Copy for Hprt
impl Eq for Hprt
impl StructuralEq for Hprt
impl StructuralPartialEq for Hprt
Auto Trait Implementationsยง
impl RefUnwindSafe for Hprt
impl Send for Hprt
impl Sync for Hprt
impl Unpin for Hprt
impl UnwindSafe for Hprt
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