#[repr(transparent)]pub struct GccfgV2(pub u32);
Expand description
General core configuration register
Tuple Fields§
§0: u32
Implementations§
Source§impl GccfgV2
impl GccfgV2
Sourcepub fn set_ps2det(&mut self, val: bool)
pub fn set_ps2det(&mut self, val: bool)
DM pull-up detection status
Sourcepub fn set_pwrdwn(&mut self, val: bool)
pub fn set_pwrdwn(&mut self, val: bool)
Power down
Sourcepub fn set_phyhsen(&mut self, val: bool)
pub fn set_phyhsen(&mut self, val: bool)
Internal high-speed PHY enable.
Trait Implementations§
impl Copy for GccfgV2
impl Eq for GccfgV2
impl StructuralPartialEq for GccfgV2
Auto Trait Implementations§
impl Freeze for GccfgV2
impl RefUnwindSafe for GccfgV2
impl Send for GccfgV2
impl Sync for GccfgV2
impl Unpin for GccfgV2
impl UnwindSafe for GccfgV2
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