Type Definition efm32gg11b_pac::efm32gg11b110::i2c0::ctrl::CLTO_W

source ·
pub type CLTO_W<'a, const O: u8> = FieldWriter<'a, u32, CTRL_SPEC, u8, CLTO_A, 3, O>;
Expand description

Field CLTO writer - Clock Low Timeout

Implementations§

source§

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

source

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

Timeout disabled

source

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

Timeout after 40 prescaled clock cycles. In standard mode at 100 kHz, this results in a 50us timeout.

source

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

Timeout after 80 prescaled clock cycles. In standard mode at 100 kHz, this results in a 100us timeout.

source

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

Timeout after 160 prescaled clock cycles. In standard mode at 100 kHz, this results in a 200us timeout.

source

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

Timeout after 320 prescaled clock cycles. In standard mode at 100 kHz, this results in a 400us timeout.

source

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

Timeout after 1024 prescaled clock cycles. In standard mode at 100 kHz, this results in a 1280us timeout.