HAL Mode structure definition.
More...
HAL Mode structure definition.
- Note
- HAL FMPI2C Mode value coding follow below described bitmap :
b7 (not used)
x : Should be set to 0
b6
0 : None
1 : Memory (HAL FMPI2C communication is in Memory Mode)
b5
0 : None
1 : Slave (HAL FMPI2C communication is in Slave Mode)
b4
0 : None
1 : Master (HAL FMPI2C communication is in Master Mode)
b3-b2-b1-b0 (not used)
xxxx : Should be set to 0000
- Note
- HAL I2C Mode value coding follow below described bitmap :
b7 (not used)
x : Should be set to 0
b6
0 : None
1 : Memory (HAL I2C communication is in Memory Mode)
b5
0 : None
1 : Slave (HAL I2C communication is in Slave Mode)
b4
0 : None
1 : Master (HAL I2C communication is in Master Mode)
b3-b2-b1-b0 (not used)
xxxx : Should be set to 0000
◆ HAL_FMPI2C_ModeTypeDef
#include <stm32f4xx_hal_fmpi2c.h>
Enumerator |
---|
HAL_FMPI2C_MODE_NONE | No FMPI2C communication on going
|
HAL_FMPI2C_MODE_MASTER | FMPI2C communication is in Master Mode
|
HAL_FMPI2C_MODE_SLAVE | FMPI2C communication is in Slave Mode
|
HAL_FMPI2C_MODE_MEM | FMPI2C communication is in Memory Mode
|
Definition at line 147 of file stm32f4xx_hal_fmpi2c.h.
◆ HAL_I2C_ModeTypeDef
#include <stm32f4xx_hal_i2c.h>
Enumerator |
---|
HAL_I2C_MODE_NONE | No I2C communication on going
|
HAL_I2C_MODE_MASTER | I2C communication is in Master Mode
|
HAL_I2C_MODE_SLAVE | I2C communication is in Slave Mode
|
HAL_I2C_MODE_MEM | I2C communication is in Memory Mode
|
Definition at line 146 of file stm32f4xx_hal_i2c.h.