RNG State functions.
More...
RNG State functions.
===============================================================================
##### Peripheral State functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the RNG.
(+) hal_rng_get_state() API can be helpful to check in run-time the state of the RNG peripheral.
◆ hal_rng_get_state()
Return the RNG handle state.
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified HMAC module. |
- Return values
-
◆ hal_rng_resume_reg()
Restore some registers related to RNG configuration after sleep. This function must be used in conjunction with the hal_rng_resume_reg().
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module. |
- Return values
-
◆ hal_rng_suspend_reg()
Suspend some registers related to RNG configuration before sleep.
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module. |
- Return values
-