The friendly Operating System for the Internet of Things
Kinetis RNGA

Driver for Freescale's RNGA module. More...

RNGA generates data that looks random. Reference Manual recommends to use the RNGA as entropy source.

RNGA Configuration Example (for periph_conf.h)

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