Struct stm32mp1::stm32mp157::otg::otg_gusbcfg::OTG_GUSBCFG_SPEC
source · [−]pub struct OTG_GUSBCFG_SPEC;
Expand description
This register can be used to configure the core after power-on or a changing to host mode or device mode. It contains USB and USB-PHY related configuration parameters. The application must program this register before starting any transactions on either the AHB or the USB. Do not make changes to this register after the initial programming.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_gusbcfg module
Trait Implementations
sourceimpl Readable for OTG_GUSBCFG_SPEC
impl Readable for OTG_GUSBCFG_SPEC
read()
method returns otg_gusbcfg::R reader structure
sourceimpl RegisterSpec for OTG_GUSBCFG_SPEC
impl RegisterSpec for OTG_GUSBCFG_SPEC
sourceimpl Resettable for OTG_GUSBCFG_SPEC
impl Resettable for OTG_GUSBCFG_SPEC
reset()
method sets OTG_GUSBCFG to value 0x1400
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_GUSBCFG_SPEC
impl Writable for OTG_GUSBCFG_SPEC
write(|w| ..)
method takes otg_gusbcfg::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_GUSBCFG_SPEC
impl Send for OTG_GUSBCFG_SPEC
impl Sync for OTG_GUSBCFG_SPEC
impl Unpin for OTG_GUSBCFG_SPEC
impl UnwindSafe for OTG_GUSBCFG_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more