35 #ifndef __HAL_TRNG_H__ 36 #define __HAL_TRNG_H__ 38 #include "hal_platform.h" 39 #ifdef HAL_TRNG_MODULE_ENABLED No error occurred during the function call.
Definition: hal_trng.h:95
An error occurred during the function call.
Definition: hal_trng.h:93
hal_trng_status_t hal_trng_deinit(void)
This function de-initializes the TRNG hardware clock.
hal_trng_status_t
This enum defines the API return type.
Definition: hal_trng.h:92
hal_trng_status_t hal_trng_init(void)
This function initializes the TRNG hardware clock.
hal_trng_status_t hal_trng_get_generated_random_number(uint32_t *random_number)
This function gets the random number generated by the TRNG.
A wrong parameter is given.
Definition: hal_trng.h:94