Struct gd32f1::gd32f190::rcu::apb1en::W[][src]

pub struct W(_);

Register APB1EN writer

Implementations

impl W[src]

pub fn timer1en(&mut self) -> TIMER1EN_W<'_>[src]

Bit 0 - TIMER1 timer clock enable

pub fn timer2en(&mut self) -> TIMER2EN_W<'_>[src]

Bit 1 - TIMER2 timer clock enable

pub fn timer5en(&mut self) -> TIMER5EN_W<'_>[src]

Bit 4 - TIMER5 timer clock enable

pub fn timer13en(&mut self) -> TIMER13EN_W<'_>[src]

Bit 8 - TIMER13 timer clock enable

pub fn slcden(&mut self) -> SLCDEN_W<'_>[src]

Bit 9 - SLCD clock enable

pub fn wwdgten(&mut self) -> WWDGTEN_W<'_>[src]

Bit 11 - Window watchdog timer clock enable

pub fn spi1en(&mut self) -> SPI1EN_W<'_>[src]

Bit 14 - SPI1 clock enable

pub fn spi2en(&mut self) -> SPI2EN_W<'_>[src]

Bit 15 - SPI2 clock enable

pub fn usart1en(&mut self) -> USART1EN_W<'_>[src]

Bit 17 - USART1 clock enable

pub fn i2c0en(&mut self) -> I2C0EN_W<'_>[src]

Bit 21 - I2C0 clock enable

pub fn i2c1en(&mut self) -> I2C1EN_W<'_>[src]

Bit 22 - I2C1 clock enable

pub fn can0en(&mut self) -> CAN0EN_W<'_>[src]

Bit 25 - CAN0 clock enable

pub fn can1en(&mut self) -> CAN1EN_W<'_>[src]

Bit 26 - CAN1 clock enable

pub fn pmuen(&mut self) -> PMUEN_W<'_>[src]

Bit 28 - Power interface clock enable

pub fn dacen(&mut self) -> DACEN_W<'_>[src]

Bit 29 - DAC interface clock enable

pub fn cecen(&mut self) -> CECEN_W<'_>[src]

Bit 30 - HDMI CEC interface clock enable

pub fn opaivrefen(&mut self) -> OPAIVREFEN_W<'_>[src]

Bit 31 - OPA and IVREF clock enable

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<APB1EN_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<APB1EN_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<APB1EN_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.