31.3.5 Events

The ADC can generate the following events:

Table 31-3 31-4. Event Generators in ADC
Generator NameDescriptionEvent TypeGenerating Clock DomainLength of Event
PeripheralEvent
ADCnRESRDYResult readyPulseCLK_PEROne clock period

The conditions for generating an event are identical to those that will raise the corresponding flag in the Interrupt Flags (ADCn.INTFLAGS) register.

The ADC has one event user for detecting and acting upon input events. The table below describes the event user and the associated functionality.

Table 31-3 31-4. Event Users and Available Event Actions in ADC
User NameDescriptionInput DetectionAsync/Sync
PeripheralInput
ADCnSTARTADC start conversionEdgeAsync

The ADC can be configured to start a conversion on the rising edge of an event signal by writing a ‘1’ to the STARTEI bit field in the Event Control (ADCn.EVCTRL) register. Refer to the Event System (EVSYS) section for more details regarding event types and Event System configuration.

When an input event trigger occurs, the positive edge will be detected, the Start Conversion (STCONV) bit in the Command (ADCn.COMMAND) register will be set, and the conversion will start. When the conversion is completed, the Result Ready (RESRDY) flag in the Interrupt Flags (ADCn.INTFLAGS) register is set and the STCONV bit in ADCn.COMMAND is cleared.