Type Alias gd32f1::gd32f190::i2c0::ctl1::W

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

Register CTL1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn i2cclk(&mut self) -> I2cclkW<'_, Ctl1Spec>

Bits 0:6 - I2C Peripheral clock frequency

source

pub fn errie(&mut self) -> ErrieW<'_, Ctl1Spec>

Bit 8 - Error interrupt enable

source

pub fn evie(&mut self) -> EvieW<'_, Ctl1Spec>

Bit 9 - Event interrupt enable

source

pub fn bufie(&mut self) -> BufieW<'_, Ctl1Spec>

Bit 10 - Buffer interrupt enable

source

pub fn dmaon(&mut self) -> DmaonW<'_, Ctl1Spec>

Bit 11 - DMA mode switch

source

pub fn dmalst(&mut self) -> DmalstW<'_, Ctl1Spec>

Bit 12 - Flag indicating DMA last transfer