31.3.4 Events
The ADC can generate the following events:
Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |
---|---|---|---|---|---|
Peripheral | Event | ||||
ADCn | RESRDY | Result ready | Pulse | CLK_PER | One CLK_PER period |
ADCn | SAMPRDY | Sample ready | Pulse | CLK_PER | One CLK_PER period |
ADCn | WCMP | Window compare match | Pulse | CLK_PER | One CLK_PER 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.
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.