![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Module to declare HAL Random Number Generator API. More...
Functions | |
| void | hal_rand_init (void) |
| Initialize hardware random generator. | |
| uint8_t | hal_rand_get (void) |
| Generates random number using hardware. More... | |
Module to declare HAL Random Number Generator API.
The Random number generator module implements the only hal_rand_get() routine to get an unsigned 8-bits random number generated by hardware.
| uint8_t hal_rand_get | ( | void | ) |
Generates random number using hardware.