|
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 |
| 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 | callback parameter |
| [in] | on_ready_cb | callback function |
| 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 |