Macros | |
#define | __HAL_PKC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_PKC_STATE_RESET) |
Reset PKC handle states. More... | |
#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__)) != 0) ? 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 |
Definition at line 450 of file gr55xx_hal_pkc.h.
#define __HAL_PKC_DISABLE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
Disable the specified PKC peripheral.
__HANDLE__ | Specifies the PKC Handle. |
None |
Definition at line 402 of file gr55xx_hal_pkc.h.
#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 |
Definition at line 426 of file gr55xx_hal_pkc.h.
#define __HAL_PKC_ENABLE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CTRL, PKC_CTRL_EN) |
Enable the specified PKC peripheral.
__HANDLE__ | Specifies the PKC Handle. |
None |
Definition at line 396 of file gr55xx_hal_pkc.h.
#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 |
Definition at line 414 of file gr55xx_hal_pkc.h.
#define __HAL_PKC_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0) ? 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). |
Definition at line 460 of file gr55xx_hal_pkc.h.
#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). |
Definition at line 438 of file gr55xx_hal_pkc.h.
#define __HAL_PKC_RESET | ( | __HANDLE__ | ) |
Reset the specified PKC peripheral.
__HANDLE__ | PKC handle. |
None |
Definition at line 389 of file gr55xx_hal_pkc.h.
#define __HAL_PKC_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_PKC_STATE_RESET) |
Reset PKC handle states.
__HANDLE__ | PKC handle. |
None |
Definition at line 382 of file gr55xx_hal_pkc.h.