Struct stm32f4xx_hal::pac::otg_fs_global::gccfg::R
source · [−]pub struct R(_);
Expand description
Register GCCFG
reader
Implementations
sourceimpl R
impl R
sourcepub fn vbusasen(&self) -> VBUSASEN_R
pub fn vbusasen(&self) -> VBUSASEN_R
Bit 18 - Enable the VBUS sensing device
sourcepub fn vbusbsen(&self) -> VBUSBSEN_R
pub fn vbusbsen(&self) -> VBUSBSEN_R
Bit 19 - Enable the VBUS sensing device
sourcepub fn sofouten(&self) -> SOFOUTEN_R
pub fn sofouten(&self) -> SOFOUTEN_R
Bit 20 - SOF output enable
Methods from Deref<Target = R<GCCFG_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<GCCFG_SPEC>> for R
impl From<R<GCCFG_SPEC>> for R
sourcefn from(reader: R<GCCFG_SPEC>) -> R
fn from(reader: R<GCCFG_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
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