Type Definition efm32gg11b_pac::efm32gg11b840::i2c1::ctrl::CLHR_W

source ·
pub type CLHR_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, CLHR_A, 2, O>;
Expand description

Field CLHR writer - Clock Low High Ratio

Implementations§

source§

impl<'a, const O: u8> CLHR_W<'a, O>

source

pub fn standard(self) -> &'a mut W

The ratio between low period and high period counters (Nlow:Nhigh) is 4:4

source

pub fn asymmetric(self) -> &'a mut W

The ratio between low period and high period counters (Nlow:Nhigh) is 6:3

source

pub fn fast(self) -> &'a mut W

The ratio between low period and high period counters (Nlow:Nhigh) is 11:6