[][src]Type Definition gd32vf103_pac::rcu::apb2en::W

type W = W<u32, APB2EN>;

Writer for register APB2EN

Implementations

impl W[src]

pub fn afen(&mut self) -> AFEN_W<'_>[src]

Bit 0 - Alternate function IO clock enable

pub fn paen(&mut self) -> PAEN_W<'_>[src]

Bit 2 - GPIO port A clock enable

pub fn pben(&mut self) -> PBEN_W<'_>[src]

Bit 3 - GPIO port B clock enable

pub fn pcen(&mut self) -> PCEN_W<'_>[src]

Bit 4 - GPIO port C clock enable

pub fn pden(&mut self) -> PDEN_W<'_>[src]

Bit 5 - GPIO port D clock enable

pub fn peen(&mut self) -> PEEN_W<'_>[src]

Bit 6 - GPIO port E clock enable

pub fn adc0en(&mut self) -> ADC0EN_W<'_>[src]

Bit 9 - ADC0 clock enable

pub fn adc1en(&mut self) -> ADC1EN_W<'_>[src]

Bit 10 - ADC1 clock enable

pub fn timer0en(&mut self) -> TIMER0EN_W<'_>[src]

Bit 11 - TIMER0 clock enable

pub fn spi0en(&mut self) -> SPI0EN_W<'_>[src]

Bit 12 - SPI0 clock enable

pub fn usart0en(&mut self) -> USART0EN_W<'_>[src]

Bit 14 - USART0 clock enable