SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
This section describes the event servicing of the module. Only the unmonitored mode is covered. Table 19-4 lists the TRNG interrupt mode steps, while Figure 19-3 shows the interrupt service routine flow.
Step | Register or Bit Field | Value |
---|---|---|
Enable interrupt generation when data is ready (available) in the output registers. | TRNG:IRQFLAGMASK.RDY | 0x1 |
Enable the shutdown overflow interrupt generation when the maximum possible FRO shutdowns reach the selected shutdown threshold | TRNG:IRQFLAGMASK.SHUTDOWN_OVF | 0x1 |
Enable the TRNG | TRNG:CTL.TRNG_EN | 0x1 |