Go to the documentation of this file.
63 #ifdef HAL_RNG_MODULE_ENABLED
123 #ifdef APP_DRIVER_WAKEUP_CALL_FUN
uint16_t app_rng_gen_async(uint16_t *p_seed)
Generate a 32-bit random number in interrupt mode.
app_rng_type_t
RNG operating mode Enumerations definition.
app_rng_evt_handler_t evt_handler
uint16_t app_rng_gen_sync(uint16_t *p_seed, uint32_t *p_random32bit)
Generate a 32-bit random number.
RNG parameters structure definition.
void(* app_rng_evt_handler_t)(app_rng_evt_t *p_evt)
RNG event callback definition.
app_rng_state_t
App rng state types.
uint16_t app_rng_deinit(void)
De-initialize the APP RNG DRIVER peripheral.
app_rng_evt_type_t
RNG event Enumerations definition.
RNG event structure definition.
This file contains all the functions prototypes for the HAL module driver.
RNG handle Structure definition.
RNG init structure definition.
rng_handle_t * app_rng_get_handle(void)
Return the RNG handle.
app_rng_state_t rng_state
RNG device structure definition.
Header file of app driver error code.
Header file of app driver config code.
uint16_t app_rng_init(app_rng_params_t *p_params, app_rng_evt_handler_t evt_handler)
Initialize the APP RNG DRIVER according to the specified parameters in the app_rng_params_t and app_r...