Kinetis RNGA

Driver for NXP Kinetis RNGA module. More...

Driver for NXP Kinetis RNGA module.

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))