Type Alias gd32e1::gd32e103::i2c0::ckcfg::DtcyW

source ·
pub type DtcyW<'a, REG> = BitWriter<'a, REG, Dtcy>;
Expand description

Field DTCY writer - Duty cycle in fast mode

Aliased Type§

struct DtcyW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> DtcyW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn duty2(self) -> &'a mut W<REG>

Duty cycle t_low/t_high = 2

source

pub fn duty16_9(self) -> &'a mut W<REG>

Duty cycle t_low/t_high = 16/9