SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
This section describes the event servicing of the module. Only the unmonitored mode is covered. Table 14-4 lists the TRNG interrupt mode steps, while Figure 14-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 |