Macros | |
| #define | __HAL_HMAC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_HMAC_STATE_RESET) |
| Reset HMAC handle states. More... | |
| #define | __HAL_HMAC_ENABLE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL, HMAC_CTRL_EN) |
| Enable the specified HMAC peripheral. More... | |
| #define | __HAL_HMAC_DISABLE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL, HMAC_CTRL_EN) |
| Disable the specified HMAC peripheral. More... | |
| #define | __HAL_HMAC_ENABLE_IT(__HANDLE__) ll_hmac_enable_it_done((__HANDLE__)->p_instance) |
| Enable the HMAC interrupt. More... | |
| #define | __HAL_HMAC_DISABLE_IT(__HANDLE__) ll_hmac_disable_it_done((__HANDLE__)->p_instance) |
| Disable the HMAC interrupt. More... | |
| #define | __HAL_HMAC_GET_FLAG_IT(__HANDLE__, __FLAG__) (READ_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) == (__FLAG__)) |
| Check whether the specified HMAC interrupt flag is set or not. More... | |
| #define | __HAL_HMAC_CLEAR_FLAG_IT(__HANDLE__, __FLAG__) SET_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) |
| Clear the specified HMAC interrupt flag. More... | |
| #define | __HAL_HMAC_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET) |
| Check whether the specified HMAC flag is set or not. More... | |
| #define __HAL_HMAC_CLEAR_FLAG_IT | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | SET_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) |
Clear the specified HMAC interrupt flag.
| __HANDLE__ | Specifies the HMAC interrupt Handle. |
| __FLAG__ | Specifies the flag to clear. This parameter can be one of the following values:
|
| None |
Definition at line 309 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_DISABLE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL, HMAC_CTRL_EN) |
Disable the specified HMAC peripheral.
| __HANDLE__ | Specifies the HMAC Handle. |
| None |
Definition at line 277 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_DISABLE_IT | ( | __HANDLE__ | ) | ll_hmac_disable_it_done((__HANDLE__)->p_instance) |
Disable the HMAC interrupt.
| __HANDLE__ | Specifies the HMAC Handle. |
| None |
Definition at line 289 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_ENABLE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL, HMAC_CTRL_EN) |
Enable the specified HMAC peripheral.
| __HANDLE__ | Specifies the HMAC Handle. |
| None |
Definition at line 271 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_ENABLE_IT | ( | __HANDLE__ | ) | ll_hmac_enable_it_done((__HANDLE__)->p_instance) |
Enable the HMAC interrupt.
| __HANDLE__ | Specifies the HMAC Handle. |
| None |
Definition at line 283 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? SET : RESET) |
Check whether the specified HMAC flag is set or not.
| __HANDLE__ | Specifies the HMAC Handle. |
| __FLAG__ | Specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of __FLAG__ (TRUE or FALSE). |
Definition at line 323 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_GET_FLAG_IT | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | (READ_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified HMAC interrupt flag is set or not.
| __HANDLE__ | Specifies the HMAC Handle. |
| __FLAG__ | Specifies the interrupt flag to check. This parameter can be one of the following values:
|
| The | new state of __FLAG__ (TRUE or FALSE). |
Definition at line 299 of file gr55xx_hal_hmac.h.
| #define __HAL_HMAC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_HMAC_STATE_RESET) |
Reset HMAC handle states.
| __HANDLE__ | HMAC handle. |
| None |
Definition at line 264 of file gr55xx_hal_hmac.h.