Type Alias gd32f1::gd32f190::rcu::ahben::W

source ·
pub type W = W<AhbenSpec>;
Expand description

Register AHBEN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dmaen(&mut self) -> DmaenW<'_, AhbenSpec>

Bit 0 - DMA clock enable

source

pub fn sramen(&mut self) -> SramenW<'_, AhbenSpec>

Bit 2 - SRAM interface clock enable

source

pub fn fmcen(&mut self) -> FmcenW<'_, AhbenSpec>

Bit 4 - FMC clock enable

source

pub fn crcen(&mut self) -> CrcenW<'_, AhbenSpec>

Bit 6 - CRC clock enable

source

pub fn paen(&mut self) -> PaenW<'_, AhbenSpec>

Bit 17 - GPIO port A clock enable

source

pub fn pben(&mut self) -> PbenW<'_, AhbenSpec>

Bit 18 - GPIO port B clock enable

source

pub fn pcen(&mut self) -> PcenW<'_, AhbenSpec>

Bit 19 - GPIO port C clock enable

source

pub fn pden(&mut self) -> PdenW<'_, AhbenSpec>

Bit 20 - GPIO port D clock enable

source

pub fn pfen(&mut self) -> PfenW<'_, AhbenSpec>

Bit 22 - GPIO port F clock enable

source

pub fn tsien(&mut self) -> TsienW<'_, AhbenSpec>

Bit 24 - TSI clock enable