Type Definition efm32gg11b_pac::efm32gg11b840::i2c0::ctrl::BITO_W

source ·
pub type BITO_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CTRL_SPEC, u8, BITO_A, 2, O>;
Expand description

Field BITO writer - Bus Idle Timeout

Implementations§

source§

impl<'a, const O: u8> BITO_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.