Struct stm32_metapac::syscfg::regs::Otghsphycr
#[repr(transparent)]pub struct Otghsphycr(pub u32);
Expand description
OTG_HS PHY register
Tuple Fields§
§0: u32
Implementations§
§impl Otghsphycr
impl Otghsphycr
pub fn set_pdctrl(&mut self, val: bool)
pub fn set_pdctrl(&mut self, val: bool)
Common block power-down control
pub const fn clksel(&self) -> Usbrefcksel
pub const fn clksel(&self) -> Usbrefcksel
Reference clock frequency selection
pub fn set_clksel(&mut self, val: Usbrefcksel)
pub fn set_clksel(&mut self, val: Usbrefcksel)
Reference clock frequency selection
Trait Implementations§
§impl Clone for Otghsphycr
impl Clone for Otghsphycr
§fn clone(&self) -> Otghsphycr
fn clone(&self) -> Otghsphycr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Otghsphycr
impl Default for Otghsphycr
§fn default() -> Otghsphycr
fn default() -> Otghsphycr
Returns the “default value” for a type. Read more
§impl PartialEq for Otghsphycr
impl PartialEq for Otghsphycr
impl Copy for Otghsphycr
impl Eq for Otghsphycr
impl StructuralPartialEq for Otghsphycr
Auto Trait Implementations§
impl Freeze for Otghsphycr
impl RefUnwindSafe for Otghsphycr
impl Send for Otghsphycr
impl Sync for Otghsphycr
impl Unpin for Otghsphycr
impl UnwindSafe for Otghsphycr
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
)