pub struct W(_);
Expand description
Register TIMEOUTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn timeouta(
&mut self
) -> FieldWriterRaw<'_, u32, TIMEOUTR_SPEC, u16, u16, Safe, 12, 0>
pub fn timeouta(
&mut self
) -> FieldWriterRaw<'_, u32, TIMEOUTR_SPEC, u16, u16, Safe, 12, 0>
Bits 0:11 - Bus Timeout A This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0.
sourcepub fn tidle(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TIDLE_A, BitM, 12>
pub fn tidle(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TIDLE_A, BitM, 12>
Bit 12 - Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0.
sourcepub fn timouten(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TIMOUTEN_A, BitM, 15>
pub fn timouten(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TIMOUTEN_A, BitM, 15>
Bit 15 - Clock timeout enable
sourcepub fn timeoutb(
&mut self
) -> FieldWriterRaw<'_, u32, TIMEOUTR_SPEC, u16, u16, Safe, 12, 16>
pub fn timeoutb(
&mut self
) -> FieldWriterRaw<'_, u32, TIMEOUTR_SPEC, u16, u16, Safe, 12, 16>
Bits 16:27 - Bus timeout B This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0.
sourcepub fn texten(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TEXTEN_A, BitM, 31>
pub fn texten(
&mut self
) -> BitWriterRaw<'_, u32, TIMEOUTR_SPEC, TEXTEN_A, BitM, 31>
Bit 31 - Extended clock timeout enable
Methods from Deref<Target = W<TIMEOUTR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.