Struct stm32_hal2::pac::otg1_hs_global::gahbcfg::W
source · [−]pub struct W(_);
Expand description
Register GAHBCFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn gint(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 0>
pub fn gint(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 0>
Bit 0 - Global interrupt mask
sourcepub fn hbstlen(
&mut self
) -> FieldWriterRaw<'_, u32, GAHBCFG_SPEC, u8, u8, Unsafe, 4, 1>
pub fn hbstlen(
&mut self
) -> FieldWriterRaw<'_, u32, GAHBCFG_SPEC, u8, u8, Unsafe, 4, 1>
Bits 1:4 - Burst length/type
sourcepub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 5>
pub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 5>
Bit 5 - DMA enable
sourcepub fn txfelvl(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 7>
pub fn txfelvl(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 7>
Bit 7 - TxFIFO empty level
sourcepub fn ptxfelvl(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 8>
pub fn ptxfelvl(&mut self) -> BitWriterRaw<'_, u32, GAHBCFG_SPEC, bool, BitM, 8>
Bit 8 - Periodic TxFIFO empty level
Methods from Deref<Target = W<GAHBCFG_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<GAHBCFG_SPEC>> for W
impl From<W<GAHBCFG_SPEC>> for W
sourcefn from(writer: W<GAHBCFG_SPEC>) -> W
fn from(writer: W<GAHBCFG_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