I've been testing the cool comparator feature, where you can directly forward the ADC result to a comparator and get an interrupt based on predefined condition.
There are several options like
ADC_COMP_INT_LOW_ALWAYS
ADC_COMP_INT_HIGH_ONCE
ADC_COMP_INT_MID_ALWAYS ...
But for my application I would need to get an interrupt every time the value goes OUT of the region specified by
ADCComparatorRegionSet(ADC0_BASE, 0, 300, 400);
It is a simplest control loop, where you want to flip a transistor the other way every time voltage goes outside of the allowed range. I don't see a way how to do that with TM4C comparator- am I missing something?