Struct stm32wlxx_hal::pac::rcc::c2apb2enr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2APB2ENR
writer
Implementations§
§impl W
impl W
pub fn tim17en(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 18>
pub fn tim17en( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 18>
Bit 18 - CPU2 TIM17 timer clock enable
pub fn tim16en(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 17>
pub fn tim16en( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 17>
Bit 17 - CPU2 TIM16 timer clock enable
pub fn usart1en(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 14>
pub fn usart1en( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 14>
Bit 14 - CPU2 USART1clocks enable
pub fn spi1en(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 12>
pub fn spi1en( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 12>
Bit 12 - CPU2 SPI1 clock enable
pub fn tim1en(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 11>
pub fn tim1en( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 11>
Bit 11 - CPU2 TIM1 timer clock enable
pub fn adcen(
&mut self
) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 9>
pub fn adcen( &mut self ) -> BitWriterRaw<'_, u32, C2APB2ENR_SPEC, ADCEN_A, BitM, 9>
Bit 9 - ADC clocks enable
Methods from Deref<Target = W<C2APB2ENR_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<C2APB2ENR_SPEC>> for W
impl From<W<C2APB2ENR_SPEC>> for W
§fn from(writer: W<C2APB2ENR_SPEC>) -> W
fn from(writer: W<C2APB2ENR_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