30.3.3 Events
The AC can generate the following events:
| Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |
|---|---|---|---|---|---|
| Module | Event | ||||
| ACn | OUT | Comparator output level | Level | Asynchronous | Given by AC output level |
The AC 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 | Input | |||
| ACn | SAMPLE | Sample | Edge | Async |
The AC can be configured to sample the inputs on the rising edge of an event signal by selecting the Event Triggered operating mode, which is done by configuring the Operation Select (OPSEL) bitfield in the Control A (ACn.CTRLA) register.
Refer to the EVSYS - Event System section for more information on event types and how to configure the Event System.
