37.6.6 Events

The ADC can generate the following output events:

  • Result Ready (RESRDY): Generated when the conversion is complete and the result is available. Refer to EVCTRL37.7.4 Event Control for details.
  • Window Monitor (WINMON): Generated when the window monitor condition match. Refer to CTRLC37.7.10 Control C for details.

Setting an Event Output bit in the Event Control Register (EVCTRL.xxEO=1) enables the corresponding output event. Clearing this bit disables the corresponding output event. Refer to the Event System chapter for details on configuring the event system.

The ADC can take the following actions on an input event:

Setting an Event Input bit in the Event Control register (EVCTRL.xxEI=1) enables the corresponding action on input event. Clearing this bit disables the corresponding action on input event.

The ADC can use synchronous, asynchronous and re-synchronized paths. By default, the ADC will detect a rising edge on the incoming event. If the ADC action must be performed on the falling edge of the incoming event, the event line must be inverted first. This is done by setting the corresponding Event Invert Enable bit in Event Control register (EVCTRL.xINV=1).

Note: If several events are connected to the ADC, the enabled action will be taken on any of the incoming events. If FLUSH and START events are available at the same time, the FLUSH event has priority.

For further information, refer to the 28 Event System (EVSYS).