|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Macros | |
| #define | __HAL_I2C_RESET_HANDLE_STATE(__HANDLE__) |
| Reset I2C handle state. | |
| #define | __HAL_I2C_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
| Enable the specified I2C interrupt. | |
| #define | __HAL_I2C_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| Disable the specified I2C interrupt. | |
| #define | __HAL_I2C_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
| Check whether the specified I2C interrupt source is enabled or not. | |
| #define | I2C_FLAG_MASK (0x0001FFFFU) |
| Check whether the specified I2C flag is set or not. | |
| #define | __HAL_I2C_GET_FLAG(__HANDLE__, __FLAG__) |
| #define | __HAL_I2C_CLEAR_FLAG(__HANDLE__, __FLAG__) |
| Clear the I2C pending flags which are cleared by writing 1 in a specific bit. | |
| #define | __HAL_I2C_ENABLE(__HANDLE__) |
| Enable the specified I2C peripheral. | |
| #define | __HAL_I2C_DISABLE(__HANDLE__) |
| Disable the specified I2C peripheral. | |
| #define | __HAL_I2C_GENERATE_NACK(__HANDLE__) |
| Generate a Non-Acknowledge I2C peripheral in Slave mode. | |
| #define __HAL_I2C_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Clear the I2C pending flags which are cleared by writing 1 in a specific bit.
| __HANDLE__ | specifies the I2C Handle. |
| __FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
Definition at line 564 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_DISABLE | ( | __HANDLE__ | ) |
Disable the specified I2C peripheral.
| __HANDLE__ | specifies the I2C Handle. |
| None |
Definition at line 578 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Disable the specified I2C interrupt.
| __HANDLE__ | specifies the I2C Handle. |
| __INTERRUPT__ | specifies the interrupt source to disable. This parameter can be one of the following values:
|
| None |
Definition at line 501 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_ENABLE | ( | __HANDLE__ | ) |
Enable the specified I2C peripheral.
| __HANDLE__ | specifies the I2C Handle. |
| None |
Definition at line 572 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Enable the specified I2C interrupt.
| __HANDLE__ | specifies the I2C Handle. |
| __INTERRUPT__ | specifies the interrupt source to enable. This parameter can be one of the following values:
|
| None |
Definition at line 485 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_GENERATE_NACK | ( | __HANDLE__ | ) |
Generate a Non-Acknowledge I2C peripheral in Slave mode.
| __HANDLE__ | specifies the I2C Handle. |
| None |
Definition at line 584 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Definition at line 544 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified I2C interrupt source is enabled or not.
| __HANDLE__ | specifies the I2C Handle. |
| __INTERRUPT__ | specifies the I2C interrupt source to check. This parameter can be one of the following values:
|
| The | new state of INTERRUPT (SET or RESET). |
Definition at line 517 of file stm32h7xx_hal_i2c.h.
| #define __HAL_I2C_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset I2C handle state.
| __HANDLE__ | specifies the I2C Handle. |
| None |
Definition at line 468 of file stm32h7xx_hal_i2c.h.
| #define I2C_FLAG_MASK (0x0001FFFFU) |
Check whether the specified I2C flag is set or not.
| __HANDLE__ | specifies the I2C Handle. |
| __FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (SET or RESET). |
Definition at line 543 of file stm32h7xx_hal_i2c.h.