Using a TMS4C129 variant.
So far I have been able to use either SYS/BIOS or TivaWare for all communication with devices, but from what I can see, there is not support for what I would like to do with the ADC.
I would like to:
- Continuously monitor three ADC inputs
- Each input would have a different comparator assigned to it
- All comparators are configured to interrupt using High band Hysteresis Once
- ISR would increment a different variable for each input
- I am not interested in looking at the ADC samples, just counting how often the comparator criteria are met.
From what I can see, the TivaWare drivers do not support this.
I don't see how to associate a specific input to a comparator, or a comparator to a specific sequencer.
Is what I desire possible?
Do you have a similar example you can point me to?