37.6.6 Events

The SDADC can generate the following output events:

  • Result Ready (RESRDY): Generated when the conversion is complete and the result is available. Refer to EVCTRL for details.
  • Window Monitor (WINMON): Generated when the window monitor condition match. Refer to WINCTRL register for details.

Writing a one to an Event Output bit in the Event Control Register (EVCTRL.xxEO) enables the corresponding output event. Writing a zero to this bit disables the corresponding output event. Refer to the Event System chapter for details on configuring the event system.

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

  • Start conversion (START): Start a conversion. Refer to SWTRIG for details.
  • Conversion flush (FLUSH): Flush the conversion. Refer to SWTRIG for details.

Writing a one to an Event Input bit into the Event Control register (EVCTRL.xxEI) enables the corresponding action on input event. Writing a zero to this bit disables the corresponding action on input event.

The SDADC uses only asynchronous events and asynchronous Event System channel path must be configured. By default, the SDADC will detect a rising edge on the incoming event. If the SDADC action must be performed on the falling edge of the incoming event, the event line must be inverted first, by writing to one the corresponding Event Invert Enable bit in Event Control register (EVCTRL.xINV).

Note: If FLUSH and START events are available simultaneously, the FLUSH event has higher priority.