Skip to main content

HAL_I2C_ModeTypeDef

Type Alias HAL_I2C_ModeTypeDef 

Source
pub type HAL_I2C_ModeTypeDef = c_uint;
Expand description

@defgroup HAL_mode_structure_definition HAL mode structure definition @brief HAL Mode structure definition @note HAL I2C Mode value coding follow below described bitmap :\n b7 (not used)\n x : Should be set to 0\n b6\n 0 : None\n 1 : Memory (HAL I2C communication is in Memory Mode)\n b5\n 0 : None\n 1 : Slave (HAL I2C communication is in Slave Mode)\n b4\n 0 : None\n 1 : Master (HAL I2C communication is in Master Mode)\n b3-b2-b1-b0 (not used)\n xxxx : Should be set to 0000 @{