The following code snippet demonstrates initializing the EDN block.
void edn_init(unsigned int enable) {
// set the control register enable bit
*CTRL_REG = enable; // should be 0x1 by default
// the EDN interrupts can optionally be enabled
}
EDN may only be enabled if CSRNG is enabled. Once disabled, EDN may only be re-enabled after CSRNG has been disabled and re-enabled.
Need to alert the system of a FIFO overflow condition.