SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
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 |