VSF Documented
|
#include "hal/driver/driver.h"
Macros | |
#define | VSF_RNG_CFG_FUNCTION_RENAME DISABLED |
Functions | |
vsf_err_t | vsf_rng_init (vsf_rng_t *rng_ptr) |
initialize a rng instance. | |
void | vsf_rng_fini (vsf_rng_t *rng_ptr) |
finalize a rng instance. | |
vsf_err_t | vsf_rng_generate_request (vsf_rng_t *rng_ptr, uint32_t *buffer, uint32_t num, void *param, vsf_rng_on_ready_callback_t *on_ready_cb) |
rng generate request | |
vsf_rng_capability_t | vsf_rng_capability (vsf_rng_t *rng_ptr) |
get the capability of rng instance. | |
#define VSF_RNG_CFG_FUNCTION_RENAME DISABLED |
initialize a rng instance.
[in] | rng_ptr | a pointer to structure vsf_rng_t |
[in] | cfg_ptr | a pointer to structure vsf_rng_cfg_t |
void vsf_rng_fini | ( | vsf_rng_t * | rng_ptr | ) |
vsf_err_t vsf_rng_generate_request | ( | vsf_rng_t * | rng_ptr, |
uint32_t * | buffer, | ||
uint32_t | num, | ||
void * | param, | ||
vsf_rng_on_ready_callback_t * | on_ready_cb | ||
) |
rng generate request
[in] | rng_ptr | a pointer to structure vsf_rng_t |
[in] | buffer | rng data buffer |
[in] | num | the length of rng data buffer |
[in] | param | call back param |
[in] | on_ready_cb | call back |
vsf_rng_capability_t vsf_rng_capability | ( | vsf_rng_t * | rng_ptr | ) |
get the capability of rng instance.
[in] | rng_ptr | a pointer to structure vsf_rng_t |