Type Definition gd32f1::gd32f170::rcu::apb1en::W[][src]

type W = W<u32, APB1EN>;

Writer for register APB1EN

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 usbden(&mut self) -> USBDEN_W<'_>[src]

Bit 23 - USBD 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