Struct stm32h743::i2c1::i2c_timeoutr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn timeouta(&self) -> TIMEOUTAR
[src]
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.
pub fn tidle(&self) -> TIDLER
[src]
Bit 12 - Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0.
pub fn timouten(&self) -> TIMOUTENR
[src]
Bit 15 - Clock timeout enable
pub fn timeoutb(&self) -> TIMEOUTBR
[src]
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.
pub fn texten(&self) -> TEXTENR
[src]
Bit 31 - Extended clock timeout enable