PKC Peripheral State functions.
More...
PKC Peripheral State functions.
==============================================================================
##### Peripheral Control and State functions #####
==============================================================================
[..]
This subsection provides functions allowing to :
(+) Return the PKC handle state.
(+) Return the PKC handle error code.
(+) Set the timeout during internal process.
◆ hal_pkc_get_error()
Return the PKC error code.
- Parameters
-
[in] | p_pkc | Pointer to a PKC handle which contains the configuration information for the specified PKC module. |
- Returns
- PKC error code in bitmap format
◆ hal_pkc_get_state()
Return the PKC handle state.
- Parameters
-
[in] | p_pkc | Pointer to a pkc_handle_t structure that contains the configuration information for the specified PKC. |
- Return values
-
◆ hal_pkc_resume_reg()
Restore some registers related to PKC configuration after sleep. This function must be used in conjunction with the hal_hmac_suspend_reg().
- Parameters
-
[in] | p_pkc | Pointer to a PKC handle which contains the configuration information for the specified PKC module. |
- Return values
-
◆ hal_pkc_set_timeout()
void hal_pkc_set_timeout |
( |
pkc_handle_t * |
p_pkc, |
|
|
uint32_t |
timeout |
|
) |
| |
Set the PKC internal process timeout value.
- Parameters
-
[in] | p_pkc | Pointer to a PKC handle which contains the configuration information for the specified PKC module. |
[in] | timeout | Internal process timeout value. |
◆ hal_pkc_suspend_reg()
Suspend some registers related to PKC configuration before sleep.
- Parameters
-
[in] | p_pkc | Pointer to a PKC handle which contains the configuration information for the specified PKC module. |
- Return values
-