Struct stm32mp1::stm32mp157::otg::otg_gotgctl::OTG_GOTGCTL_SPEC
source · [−]pub struct OTG_GOTGCTL_SPEC;
Expand description
The OTG_GOTGCTL register controls the behavior and reflects the status of the OTG function of the core.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_gotgctl module
Trait Implementations
sourceimpl Readable for OTG_GOTGCTL_SPEC
impl Readable for OTG_GOTGCTL_SPEC
read()
method returns otg_gotgctl::R reader structure
sourceimpl RegisterSpec for OTG_GOTGCTL_SPEC
impl RegisterSpec for OTG_GOTGCTL_SPEC
sourceimpl Resettable for OTG_GOTGCTL_SPEC
impl Resettable for OTG_GOTGCTL_SPEC
reset()
method sets OTG_GOTGCTL to value 0x0001_0000
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_GOTGCTL_SPEC
impl Writable for OTG_GOTGCTL_SPEC
write(|w| ..)
method takes otg_gotgctl::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_GOTGCTL_SPEC
impl Send for OTG_GOTGCTL_SPEC
impl Sync for OTG_GOTGCTL_SPEC
impl Unpin for OTG_GOTGCTL_SPEC
impl UnwindSafe for OTG_GOTGCTL_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