Macros | |
#define | __HAL_PKC_RESET(__HANDLE__) |
Reset the specified PKC peripheral. More... | |
#define | __HAL_PKC_ENABLE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
Enable the specified PKC peripheral. More... | |
#define | __HAL_PKC_DISABLE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
Disable the specified PKC peripheral. More... | |
#define | __HAL_PKC_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BITS((__HANDLE__)->p_instance->INT_EN, (__INTERRUPT__)) |
Enable the specified PKC interrupts. More... | |
#define | __HAL_PKC_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BITS((__HANDLE__)->p_instance->INT_EN, (__INTERRUPT__)) |
Disable the specified PKC interrupts. More... | |
#define | __HAL_PKC_GET_FLAG_IT(__HANDLE__, __FLAG__) (READ_BITS((__HANDLE__)->p_instance->INT_STAT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified PKC interrupt flag is set or not. More... | |
#define | __HAL_PKC_CLEAR_FLAG_IT(__HANDLE__, __FLAG__) SET_BITS((__HANDLE__)->p_instance->INT_STAT, (__FLAG__)) |
Clear the specified PKC interrupt flag. More... | |
#define | __HAL_PKC_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0U) ? SET : RESET) |
Check whether the specified PKC flag is set or not. More... | |
#define __HAL_PKC_CLEAR_FLAG_IT | ( | __HANDLE__, | |
__FLAG__ | |||
) | SET_BITS((__HANDLE__)->p_instance->INT_STAT, (__FLAG__)) |
Clear the specified PKC interrupt flag.
__HANDLE__ | Specifies the PKC Handle. |
__FLAG__ | Specifies the interrupt flag to clear. This parameter can be one of the following values:
|
None |
#define __HAL_PKC_DISABLE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
#define __HAL_PKC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | CLEAR_BITS((__HANDLE__)->p_instance->INT_EN, (__INTERRUPT__)) |
Disable the specified PKC interrupts.
__HANDLE__ | Specifies the PKC Handle. |
__INTERRUPT__ | Specifies the interrupt source to disable. This parameter can be one of the following values:
|
None |
#define __HAL_PKC_ENABLE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
#define __HAL_PKC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | SET_BITS((__HANDLE__)->p_instance->INT_EN, (__INTERRUPT__)) |
Enable the specified PKC interrupts.
__HANDLE__ | Specifies the PKC Handle. |
__INTERRUPT__ | Specifies the interrupt source to enable. This parameter can be one of the following values:
|
None |
#define __HAL_PKC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0U) ? SET : RESET) |
Check whether the specified PKC flag is set or not.
__HANDLE__ | Specifies the PKC Handle. |
__FLAG__ | Specifies the flag to check. This parameter can be one of the following values:
|
The | new state of __FLAG__ (TRUE or FALSE). |
#define __HAL_PKC_GET_FLAG_IT | ( | __HANDLE__, | |
__FLAG__ | |||
) | (READ_BITS((__HANDLE__)->p_instance->INT_STAT, (__FLAG__)) == (__FLAG__)) |
Check whether the specified PKC interrupt flag is set or not.
__HANDLE__ | Specifies the PKC 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). |