Struct 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)