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