The friendly Operating System for the Internet of Things
Kinetis RNGB

Low-level random number generator driver implementation. More...

Driver for Freescale's RNGB module. RNGB generates data that looks random. Reference Manual recommends to use the RNGB as entropy source.

RNGB Configuration Example (for periph_conf.h)

#define RANDOM_NUMOF         (1U)
#define KINETIS_RNGB         RNG
#define RANDOM_CLKEN()       (SIM->SCGC6 |= (1 << 9))
#define RANDOM_CLKDIS()      (SIM->SCGC6 &= ~(1 << 9))