Struct stm32wlxx_hal::pac::rcc::ahb1enr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AHB1ENR
writer
Implementations§
§impl W
impl W
pub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 12>
pub fn crcen( &mut self ) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 12>
Bit 12 - CPU1 CRC clock enable
pub fn dmamux1en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 2>
pub fn dmamux1en( &mut self ) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 2>
Bit 2 - CPU1 DMAMUX1 clock enable
pub fn dma2en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 1>
pub fn dma2en( &mut self ) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 1>
Bit 1 - CPU1 DMA2 clock enable
pub fn dma1en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 0>
pub fn dma1en( &mut self ) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, DMA1EN_A, BitM, 0>
Bit 0 - CPU1 DMA1 clock enable
Methods from Deref<Target = W<AHB1ENR_SPEC>>§
pub 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§
§impl From<W<AHB1ENR_SPEC>> for W
impl From<W<AHB1ENR_SPEC>> for W
§fn from(writer: W<AHB1ENR_SPEC>) -> W
fn from(writer: W<AHB1ENR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more