Struct stm32_hal2::pac::rcc::c1_apb1lenr::W
source · [−]pub struct W(_);
Expand description
Register C1_APB1LENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tim2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 0>
pub fn tim2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 0>
Bit 0 - TIM peripheral clock enable
sourcepub fn tim3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 1>
pub fn tim3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 1>
Bit 1 - TIM peripheral clock enable
sourcepub fn tim4en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 2>
pub fn tim4en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 2>
Bit 2 - TIM peripheral clock enable
sourcepub fn tim5en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 3>
pub fn tim5en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 3>
Bit 3 - TIM peripheral clock enable
sourcepub fn tim6en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 4>
pub fn tim6en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 4>
Bit 4 - TIM peripheral clock enable
sourcepub fn tim7en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 5>
pub fn tim7en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 5>
Bit 5 - TIM peripheral clock enable
sourcepub fn tim12en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 6>
pub fn tim12en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 6>
Bit 6 - TIM peripheral clock enable
sourcepub fn tim13en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 7>
pub fn tim13en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 7>
Bit 7 - TIM peripheral clock enable
sourcepub fn tim14en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 8>
pub fn tim14en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 8>
Bit 8 - TIM peripheral clock enable
sourcepub fn lptim1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 9>
pub fn lptim1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 9>
Bit 9 - LPTIM1 Peripheral Clocks Enable
sourcepub fn spi2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 14>
pub fn spi2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 14>
Bit 14 - SPI2 Peripheral Clocks Enable
sourcepub fn spi3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 15>
pub fn spi3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 15>
Bit 15 - SPI3 Peripheral Clocks Enable
sourcepub fn spdifrxen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 16>
pub fn spdifrxen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 16>
Bit 16 - SPDIFRX Peripheral Clocks Enable
sourcepub fn usart2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 17>
pub fn usart2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 17>
Bit 17 - USART2 Peripheral Clocks Enable
sourcepub fn usart3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 18>
pub fn usart3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 18>
Bit 18 - USART3 Peripheral Clocks Enable
sourcepub fn uart4en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 19>
pub fn uart4en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 19>
Bit 19 - UART4 Peripheral Clocks Enable
sourcepub fn uart5en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 20>
pub fn uart5en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 20>
Bit 20 - UART5 Peripheral Clocks Enable
sourcepub fn i2c1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 21>
pub fn i2c1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 21>
Bit 21 - I2C1 Peripheral Clocks Enable
sourcepub fn i2c2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 22>
pub fn i2c2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 22>
Bit 22 - I2C2 Peripheral Clocks Enable
sourcepub fn i2c3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 23>
pub fn i2c3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 23>
Bit 23 - I2C3 Peripheral Clocks Enable
sourcepub fn cecen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 27>
pub fn cecen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 27>
Bit 27 - HDMI-CEC peripheral clock enable
sourcepub fn dac12en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 29>
pub fn dac12en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 29>
Bit 29 - DAC1&2 peripheral clock enable
sourcepub fn uart7en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 30>
pub fn uart7en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 30>
Bit 30 - UART7 Peripheral Clocks Enable
sourcepub fn uart8en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 31>
pub fn uart8en(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1LENR_SPEC, TIM2EN_A, BitM, 31>
Bit 31 - UART8 Peripheral Clocks Enable
Methods from Deref<Target = W<C1_APB1LENR_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.