Struct stm32_metapac::otg::regs::GccfgV2
#[repr(transparent)]pub struct GccfgV2(pub u32);
Expand description
General core configuration register
Tuple Fields§
§0: u32
Implementations§
§impl GccfgV2
impl GccfgV2
pub fn set_ps2det(&mut self, val: bool)
pub fn set_ps2det(&mut self, val: bool)
DM pull-up detection status
pub fn set_pwrdwn(&mut self, val: bool)
pub fn set_pwrdwn(&mut self, val: bool)
Power down
pub 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 StructuralEq for GccfgV2
impl StructuralPartialEq for GccfgV2
Auto Trait Implementations§
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