[an error occurred while processing this directive]
|
The bus busy (BB) bit indicates the status of the I2C bus. The BB bit is set to “1” by a START condition (bus is
busy) and set to “0” by a STOP condition (bus is free).The I2C peripheral cannot detect a START or STOP
condition when it is in reset (IRS bit set to “0”); therefore, the BB bit will keep the state it was in when the I2C
peripheral was placed in reset (when IRS bit is set to “0”) instead of reflecting the actual I2C bus status. The BB bit
stays in that state until the I2C peripheral is taken out of reset (IRS bit set to “1”) and a START or STOP condition is
detected on the I2C bus. When the device is powered up, the BB bit stays stuck at the default value of “0” until the
IRS bit is set to “1” (taking the I2C peripheral out of reset). After the IRS bit is set to “1”, the START or STOP
condition can be captured in the BB bit.
E-mail: info@telesys.ru