26.8.1.2.2 Workflow
- Make the application loop infinitely.
while(true) { - Start to read a random data from TRNG until success.
while(trng_read(&trng_instance, &random_result) != STATUS_OK) {} - Toggle the board LED to indicate a random data is read.
port_pin_toggle_output_level(LED_0_PIN);/* Add a short delay to see LED toggle */volatileuint32_t delay = 50000;while(delay--) {}
