ASF for event system?

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've been working with the latest ASF and Studio 6, converting an "old" XMEGA project to use the new ASF. I'm noticing that there doesn't seem to be any drivers for the event system. Is there no ASF API for setting the event channels? I don't see an ASF method for setting the event control for the ADC either. Is this the way it was meant to be, or are there plans to add it in the future?

I like cats, too. Let's exchange recipes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is currently no driver for EVSYS.

Event-triggering of AD conversions is set up with the function adc_set_conversion_trigger() in adc.h.

The parameter trig (adc_trigger enum) specifies the type of triggering, while the parameters base_ev_ch and nr_of_ch are used to select the base event channel and the number of virtual ADC channels to trigger.