Type Alias gd32f1::gd32f130::i2c0::ckcfg::DtcyR

source ·
pub type DtcyR = BitReader<Dtcy>;
Expand description

Field DTCY reader - Duty cycle in fast mode

Aliased Type§

struct DtcyR { /* private fields */ }

Implementations§

source§

impl DtcyR

source

pub const fn variant(&self) -> Dtcy

Get enumerated values variant

source

pub fn is_duty2(&self) -> bool

Duty cycle t_low/t_high = 2

source

pub fn is_duty16_9(&self) -> bool

Duty cycle t_low/t_high = 16/9