Struct stm32wlxx_hal::pac::rcc::ahb2enr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AHB2ENR
writer
Implementations§
§impl W
impl W
pub fn gpiohen(
&mut self
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 7>
pub fn gpiohen( &mut self ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 7>
Bit 7 - CPU1 IO port H clock enable
pub fn gpiocen(
&mut self
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 2>
pub fn gpiocen( &mut self ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 2>
Bit 2 - CPU1 IO port C clock enable
pub fn gpioben(
&mut self
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 1>
pub fn gpioben( &mut self ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 1>
Bit 1 - CPU1 IO port B clock enable
pub fn gpioaen(
&mut self
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 0>
pub fn gpioaen( &mut self ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, GPIOAEN_A, BitM, 0>
Bit 0 - CPU1 IO port A clock enable
Methods from Deref<Target = W<AHB2ENR_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<AHB2ENR_SPEC>> for W
impl From<W<AHB2ENR_SPEC>> for W
§fn from(writer: W<AHB2ENR_SPEC>) -> W
fn from(writer: W<AHB2ENR_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