HPM SDK
HPMicro Software Development Kit
hpm_rng_drv.c File Reference
#include "hpm_rng_drv.h"

Functions

hpm_stat_t rng_run_selftest (RNG_Type *ptr)
 
hpm_stat_t rng_feed_rand_to_sdp (RNG_Type *ptr)
 
static hpm_stat_t rng_rand (RNG_Type *ptr, void *buf, uint32_t count_in_byte, bool wait)
 
hpm_stat_t rng_rand_wait (RNG_Type *ptr, void *buf, uint32_t count_in_byte)
 
hpm_stat_t rng_rand_no_wait (RNG_Type *ptr, void *buf, uint32_t count_in_byte)
 
hpm_stat_t rng_init (RNG_Type *ptr)
 

Function Documentation

◆ rng_feed_rand_to_sdp()

hpm_stat_t rng_feed_rand_to_sdp ( RNG_Type ptr)

◆ rng_init()

hpm_stat_t rng_init ( RNG_Type ptr)

◆ rng_rand()

static hpm_stat_t rng_rand ( RNG_Type ptr,
void *  buf,
uint32_t  count_in_byte,
bool  wait 
)
static

◆ rng_rand_no_wait()

hpm_stat_t rng_rand_no_wait ( RNG_Type ptr,
void *  buf,
uint32_t  count_in_byte 
)

◆ rng_rand_wait()

hpm_stat_t rng_rand_wait ( RNG_Type ptr,
void *  buf,
uint32_t  count_in_byte 
)

◆ rng_run_selftest()

hpm_stat_t rng_run_selftest ( RNG_Type ptr)