STMicroelectronics /STM32G0C1 /I2C1 /I2C_TIMEOUTR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as I2C_TIMEOUTR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0TIMEOUTA0 (B_0x0)TIDLE 0 (B_0x0)TIMOUTEN 0TIMEOUTB0 (B_0x0)TEXTEN

TIMOUTEN=B_0x0, TEXTEN=B_0x0, TIDLE=B_0x0

Description

Status register 1

Fields

TIMEOUTA

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.

TIDLE

Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0.

0 (B_0x0): TIMEOUTA is used to detect SCL low timeout

1 (B_0x1): TIMEOUTA is used to detect both SCL and SDA high timeout (bus idle condition)

TIMOUTEN

Clock timeout enable

0 (B_0x0): SCL timeout detection is disabled

1 (B_0x1): SCL timeout detection is enabled: when SCL is low for more than tTIMEOUT (TIDLE=0) or high for more than tIDLE (TIDLE=1), a timeout error is detected (TIMEOUT=1).

TIMEOUTB

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.

TEXTEN

Extended clock timeout enable

0 (B_0x0): Extended clock timeout detection is disabled

1 (B_0x1): Extended clock timeout detection is enabled. When a cumulative SCL stretch for more than tLOW:EXT is done by the I2C interface, a timeout error is detected (TIMEOUT=1).

Links

()