This example shows how to configure a conversion of ADC0 on an overflow of TCA, using
synchronous event channel 0.
- Configure TCA with the desired
frequency and period
- Select TCA overflow event as an event
source for synchronous event channel 0
- Configure asynchronous user channel 1
(ADC0) to use synchronous event channel 0 as event input
- Configure the ADC0 for an ADC
conversion triggered by an event