35.6.2.1 Initialization
- Ensure PB2_CLK is enabled in the CRU and TRNG is enabled in the PMD3 register, PMD3.RNGMD bit.
- Optional: Enable the output event by
writing a ‘
1
’ to the EVCTRL.DATARDYEO bit. - Optional: Enable the TRNG to Run in
Standby sleep mode by writing a ‘
1
’ to CTRLA.RUNSTDBY. - Enable the TRNG operation by writing
a ‘
1
’ to CTRLA.ENABLE.
The following register is enable-protected, meaning that it can only be written when the TRNG is disabled (CTRLA.ENABLE is zero):
- Event Control register (EVCTRL)
Enable-protection is denoted by the Enable-Protected property in the register description.