#[repr(transparent)]pub struct Debug0(pub u32);Expand description
Debug 0. F70RM 42.7.7 (text line 104589). Preserve reserved reset values. HSTPULLDOWN and ENHSTPULLDOWN are independent DP/DM masks: field bit 1 controls DP and bit 0 DM. Values 0..3 are valid combinations, not a two-state enum. OTGIDPIOLOCK holds the sampled OTG ID (not a security lock).
Tuple Fields§
§0: u32Implementations§
Source§impl Debug0
impl Debug0
Sourcepub const fn otgidpiolock(&self) -> bool
pub const fn otgidpiolock(&self) -> bool
Hold OTG_ID.
Sourcepub const fn set_otgidpiolock(&mut self, val: bool)
pub const fn set_otgidpiolock(&mut self, val: bool)
Hold OTG_ID.
Sourcepub const fn hstpulldown(&self) -> u8
pub const fn hstpulldown(&self) -> u8
Host Pulldown Overdrive Mode. Raw encoding: 00b - Disconnect; 01b - Connect.
Sourcepub const fn set_hstpulldown(&mut self, val: u8)
pub const fn set_hstpulldown(&mut self, val: u8)
Host Pulldown Overdrive Mode. Raw encoding: 00b - Disconnect; 01b - Connect.
Sourcepub const fn enhstpulldown(&self) -> u8
pub const fn enhstpulldown(&self) -> u8
Enable Host Pulldown Overdrive Mode. Raw encoding: 00b - Disable; 01b - Enable.
Sourcepub const fn set_enhstpulldown(&mut self, val: u8)
pub const fn set_enhstpulldown(&mut self, val: u8)
Enable Host Pulldown Overdrive Mode. Raw encoding: 00b - Disable; 01b - Enable.
Trait Implementations§
impl Copy for Debug0
impl Eq for Debug0
impl StructuralPartialEq for Debug0
Auto Trait Implementations§
impl Freeze for Debug0
impl RefUnwindSafe for Debug0
impl Send for Debug0
impl Sync for Debug0
impl Unpin for Debug0
impl UnwindSafe for Debug0
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