pub struct W(_);
Expand description
Register APB1EN
writer
Implementations
sourceimpl W
impl W
sourcepub fn timer1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn timer1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 0 - TIMER1 timer clock enable
sourcepub fn timer2en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn timer2en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 1 - TIMER2 timer clock enable
sourcepub fn timer5en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn timer5en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 4 - TIMER5 timer clock enable
sourcepub fn timer13en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn timer13en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 8 - TIMER13 timer clock enable
sourcepub fn wwdgten(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn wwdgten(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 11 - Window watchdog timer clock enable
sourcepub fn spi1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn spi1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 14 - SPI1 clock enable
sourcepub fn spi2en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn spi2en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 15 - SPI2 clock enable
sourcepub fn usart1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn usart1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 17 - USART1 clock enable
sourcepub fn i2c0en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn i2c0en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 21 - I2C0 clock enable
sourcepub fn i2c1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn i2c1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 22 - I2C1 clock enable
sourcepub fn usbden(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn usbden(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 23 - USBD clock enable
sourcepub fn pmuen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn pmuen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 28 - Power interface clock enable
sourcepub fn dacen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn dacen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 29 - DAC interface clock enable
sourcepub fn cecen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
pub fn cecen(
&mut self
) -> BitWriterRaw<'_, u32, APB1EN_SPEC, TIMER1EN_A, BitM, 0_u8>
Bit 30 - HDMI CEC interface clock enable
Methods from Deref<Target = W<APB1EN_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.
Trait Implementations
sourceimpl From<W<APB1EN_SPEC>> for W
impl From<W<APB1EN_SPEC>> for W
sourcefn from(writer: W<APB1EN_SPEC>) -> W
fn from(writer: W<APB1EN_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more