Struct stm32_hal2::pac::otg1_hs_global::gotgint::W
source · [−]pub struct W(_);
Expand description
Register GOTGINT
writer
Implementations
sourceimpl W
impl W
sourcepub fn sedet(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 2>
pub fn sedet(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 2>
Bit 2 - Session end detected
sourcepub fn srsschg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 8>
pub fn srsschg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 8>
Bit 8 - Session request success status change
sourcepub fn hnsschg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 9>
pub fn hnsschg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 9>
Bit 9 - Host negotiation success status change
sourcepub fn hngdet(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 17>
pub fn hngdet(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 17>
Bit 17 - Host negotiation detected
sourcepub fn adtochg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 18>
pub fn adtochg(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 18>
Bit 18 - A-device timeout change
sourcepub fn dbcdne(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 19>
pub fn dbcdne(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 19>
Bit 19 - Debounce done
sourcepub fn idchng(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 20>
pub fn idchng(&mut self) -> BitWriterRaw<'_, u32, GOTGINT_SPEC, bool, BitM, 20>
Bit 20 - ID input pin changed
Methods from Deref<Target = W<GOTGINT_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<GOTGINT_SPEC>> for W
impl From<W<GOTGINT_SPEC>> for W
sourcefn from(writer: W<GOTGINT_SPEC>) -> W
fn from(writer: W<GOTGINT_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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