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