pub type HAL_I2C_StateTypeDef = c_uint;Expand description
@defgroup HAL_state_structure_definition HAL state structure definition @brief HAL State structure definition @note HAL I2C State value coding follow below described bitmap : b7-b6 Error information 00 : No Error 01 : Abort (Abort user request on going) 10 : Timeout 11 : Error b5 Peripheral initilisation status 0 : Reset (Peripheral not initialized) 1 : Init done (Peripheral initialized and ready to use. HAL I2C Init function called) b4 (not used) x : Should be set to 0 b3 0 : Ready or Busy (No Listen mode ongoing) 1 : Listen (Peripheral in Address Listen Mode) b2 Intrinsic process state 0 : Ready 1 : Busy (Peripheral busy with some configuration or internal operations) b1 Rx state 0 : Ready (no Rx operation ongoing) 1 : Busy (Rx operation ongoing) b0 Tx state 0 : Ready (no Tx operation ongoing) 1 : Busy (Tx operation ongoing) @{