#[repr(transparent)]pub struct Observe(pub u8);Expand description
USB OTG Observe.
Tuple Fields§
§0: u8Implementations§
Source§impl Observe
impl Observe
Sourcepub const fn dmpd(&self) -> bool
pub const fn dmpd(&self) -> bool
D- Pulldown. Raw bit values: false (0) = DmPdDisStat: Disabled.; true (1) = DmPdEnStat: Enabled.
Sourcepub const fn set_dmpd(&mut self, val: bool)
pub const fn set_dmpd(&mut self, val: bool)
D- Pulldown. Raw bit values: false (0) = DmPdDisStat: Disabled.; true (1) = DmPdEnStat: Enabled.
Sourcepub const fn dppd(&self) -> bool
pub const fn dppd(&self) -> bool
D+ Pulldown. Raw bit values: false (0) = DpPdDisStat: Disabled.; true (1) = DpPdEnStat: Enabled.
Sourcepub const fn set_dppd(&mut self, val: bool)
pub const fn set_dppd(&mut self, val: bool)
D+ Pulldown. Raw bit values: false (0) = DpPdDisStat: Disabled.; true (1) = DpPdEnStat: Enabled.
Trait Implementations§
impl Copy for Observe
impl Eq for Observe
impl StructuralPartialEq for Observe
Auto Trait Implementations§
impl Freeze for Observe
impl RefUnwindSafe for Observe
impl Send for Observe
impl Sync for Observe
impl Unpin for Observe
impl UnwindSafe for Observe
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