30.3.4 Events
The ADC can generate the following events:
Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |
---|---|---|---|---|---|
Module | Event | ||||
ADCn | RES | Result ready | Pulse | CLK_PER | One CLK_PER period |
SAMP | Sample ready | ||||
WCMP | Window compare match |
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.
User Name | Description | Input Detection | Async/Sync | |
---|---|---|---|---|
Peripheral | Event | |||
ADCn | START | ADC start on event | Edge | Async |
The START event action can be triggered if the EVENT_TRIGGER setting is written to the START bit field in the Command (ADCn.COMMAND) register.