Functions | |
| __STATIC_INLINE void | ll_rng_enable (rng_regs_t *RNGx) |
| Enable Random Number Generation. More... | |
| __STATIC_INLINE void | ll_rng_disable (rng_regs_t *RNGx) |
| Disable Random Number Generation. More... | |
| __STATIC_INLINE uint32_t | ll_rng_is_enabled (rng_regs_t *RNGx) |
| Check if Random Number Generator is enabled. More... | |
| __STATIC_INLINE void | ll_rng_enable_fro (rng_regs_t *RNGx) |
| Enable Ring oscillator TRNG enabled signal. More... | |
| __STATIC_INLINE void | ll_rng_disable_fro (rng_regs_t *RNGx) |
| Disable Ring oscillator TRNG enabled signal. More... | |
| __STATIC_INLINE uint32_t | ll_rng_fro_is_enabled (rng_regs_t *RNGx) |
| Check if Ring oscillator TRNG enabled signal is enabled. More... | |
| __STATIC_INLINE void | ll_rng_set_lfsr_seed (rng_regs_t *RNGx, uint32_t seed) |
| Set source of LFSR seed. More... | |
| __STATIC_INLINE uint32_t | ll_rng_get_lfsr_seed (rng_regs_t *RNGx) |
| Get source of LFSR seed. More... | |
| __STATIC_INLINE void | ll_rng_set_lfsr_mode (rng_regs_t *RNGx, uint32_t mode) |
| Set LFSR configuration mode. More... | |
| __STATIC_INLINE uint32_t | ll_rng_get_lfsr_mode (rng_regs_t *RNGx) |
| Get LFSR configuration mode. More... | |
| __STATIC_INLINE void | ll_rng_set_post_mode (rng_regs_t *RNGx, uint32_t post) |
| Set RNG post-process configuration. More... | |
| __STATIC_INLINE uint32_t | ll_rng_get_post_mode (rng_regs_t *RNGx) |
| Get RNG post-process configuration. More... | |
| __STATIC_INLINE void | ll_rng_set_output_mode (rng_regs_t *RNGx, uint32_t mode) |
| set RNG output mode. More... | |
| __STATIC_INLINE uint32_t | ll_rng_get_output_mode (rng_regs_t *RNGx) |
| get RNG output mode. More... | |
| __STATIC_INLINE void | ll_rng_set_trdy_time (rng_regs_t *RNGx, uint32_t time) |
| set the waiting time that RNG input reaches stable. More... | |
| __STATIC_INLINE uint32_t | ll_rng_get_trdy_time (rng_regs_t *RNGx) |
| get the waiting time that RNG input reaches stable. More... | |
| __STATIC_INLINE void | ll_rng_set_user_seed (rng_regs_t *RNGx, uint32_t seed) |
| set RNG seed configured by user. More... | |
| __STATIC_INLINE void ll_rng_disable | ( | rng_regs_t * | RNGx | ) |
Disable Random Number Generation.
Register|BitsName --------|-------- CTRL | RNG_RUN
| RNGx | RNG instance. |
| None |
Definition at line 217 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_disable_fro | ( | rng_regs_t * | RNGx | ) |
Disable Ring oscillator TRNG enabled signal.
Register|BitsName --------|-------- CTRL | RNG_RUN
| RNGx | RNG instance. |
| None |
Definition at line 262 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_enable | ( | rng_regs_t * | RNGx | ) |
Enable Random Number Generation.
Register|BitsName --------|-------- CTRL | RNG_RUN
| RNGx | RNG instance. |
| None |
Definition at line 202 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_enable_fro | ( | rng_regs_t * | RNGx | ) |
Enable Ring oscillator TRNG enabled signal.
Register|BitsName --------|-------- CONFIG | RNG_FRO_EN
| RNGx | RNG instance. |
| None |
Definition at line 247 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_fro_is_enabled | ( | rng_regs_t * | RNGx | ) |
Check if Ring oscillator TRNG enabled signal is enabled.
Register|BitsName --------|-------- CTRL | RNG_RUN
| RNGx | RNG instance. |
| State | of bit (1 or 0). |
Definition at line 277 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_get_lfsr_mode | ( | rng_regs_t * | RNGx | ) |
Get LFSR configuration mode.
Register|BitsName --------|-------- CONFIG | RNG_LFSR_MODE
| RNGx | RNG instance. |
| Returned | value can be one of the following values: |
Definition at line 347 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_get_lfsr_seed | ( | rng_regs_t * | RNGx | ) |
Get source of LFSR seed.
Register|BitsName --------|-------- CONFIG | RNG_LFSR_SEED_SEL
| RNGx | RNG instance. |
| Returned | value can be one of the following values: |
Definition at line 312 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_get_output_mode | ( | rng_regs_t * | RNGx | ) |
get RNG output mode.
Register|BitsName --------|-------- CONFIG | RNG_OUT_MODE
| RNGx | RNG instance. |
| Returned | value can be one of the following values: |
Definition at line 427 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_get_post_mode | ( | rng_regs_t * | RNGx | ) |
Get RNG post-process configuration.
Register|BitsName --------|-------- CONFIG | RNG_POST_MODE
| RNGx | RNG instance. |
| Returned | value can be one of the following values: |
Definition at line 386 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_get_trdy_time | ( | rng_regs_t * | RNGx | ) |
get the waiting time that RNG input reaches stable.
Register|BitsName --------|-------- TSCON | RNG_TRDY_TIME
| RNGx | RNG instance. |
| Between | Min_Time = 0 and Max_Time = 0xFF |
Definition at line 458 of file gr55xx_ll_rng.h.
| __STATIC_INLINE uint32_t ll_rng_is_enabled | ( | rng_regs_t * | RNGx | ) |
Check if Random Number Generator is enabled.
Register|BitsName --------|-------- CTRL | RNG_RUN
| RNGx | RNG instance. |
| State | of bit (1 or 0). |
Definition at line 232 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_lfsr_mode | ( | rng_regs_t * | RNGx, |
| uint32_t | mode | ||
| ) |
Set LFSR configuration mode.
Register|BitsName --------|-------- CONFIG | RNG_LFSR_MODE
| RNGx | RNG instance. |
| mode | This parameter can be one of the following values: |
| None |
Definition at line 330 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_lfsr_seed | ( | rng_regs_t * | RNGx, |
| uint32_t | seed | ||
| ) |
Set source of LFSR seed.
Register|BitsName --------|-------- CONFIG | RNG_LFSR_SEED_SEL
| RNGx | RNG instance. |
| seed | This parameter can be one of the following values: |
| None |
Definition at line 295 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_output_mode | ( | rng_regs_t * | RNGx, |
| uint32_t | mode | ||
| ) |
set RNG output mode.
Register|BitsName --------|-------- CONFIG | RNG_OUT_MODE
| RNGx | RNG instance. |
| mode | This parameter can be one of the following values: |
| None |
Definition at line 407 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_post_mode | ( | rng_regs_t * | RNGx, |
| uint32_t | post | ||
| ) |
Set RNG post-process configuration.
Register|BitsName --------|-------- CONFIG | RNG_POST_MODE
| RNGx | RNG instance. |
| post | This parameter can be one of the following values: |
| None |
Definition at line 367 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_trdy_time | ( | rng_regs_t * | RNGx, |
| uint32_t | time | ||
| ) |
set the waiting time that RNG input reaches stable.
Register|BitsName --------|-------- TSCON | RNG_TRDY_TIME
| RNGx | RNG instance. |
| time | range between 0x1 and 0xFF. |
| None |
Definition at line 443 of file gr55xx_ll_rng.h.
| __STATIC_INLINE void ll_rng_set_user_seed | ( | rng_regs_t * | RNGx, |
| uint32_t | seed | ||
| ) |
set RNG seed configured by user.
Register|BitsName --------|-------- USER | RNG_USER_SEED
| RNGx | RNG instance. |
| seed | range between 0x1 and 0xFFFF. |
| None |
Definition at line 475 of file gr55xx_ll_rng.h.