Initialization and de-initialization functions.
More...
Initialization and de-initialization functions.
==============================================================================
##### Initialization and de-initialization functions #####
==============================================================================
[..]
This section provides functions allowing to:
(+) Initialize and start the RNG according to the specified parameters
in the rng_init_t of associated handle.
(+) Initialize the RNG MSP.
◆ hal_rng_deinit()
De-initialize the RNG peripheral.
- Parameters
-
- Return values
-
◆ hal_rng_init()
Initialize the RNG according to the specified parameters in the rng_init_t of associated handle.
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module. |
- Return values
-
◆ hal_rng_msp_deinit()
De-initialize the RNG MSP.
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module. |
- Note
- When rewriting this function in user file, mechanism may be added to avoid multiple initialize when hal_rng_init function is called again to change parameters.
◆ hal_rng_msp_init()
Initialize the RNG MSP.
- Parameters
-
[in] | p_rng | Pointer to a RNG handle which contains the configuration information for the specified RNG module. |
- Note
- When rewriting this function in user file, mechanism may be added to avoid multiple initialize when hal_rng_init function is called again to change parameters.