Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Product List
Tiva C Series TM4C123x Family of MCUs Slide 15

The ADC module also consists of eight digital comparators that can be used to compare the ADC module’s output with user programmable limits. Depending on the result of the comparison, a processor interrupt or a trigger to the PWM module can be generated. It can be used in applications where the sampled value needs to be compared against pre-defined values without requiring CPU intervention. If the sampled value meets the comparison criterion, a trigger can be asserted, this reduces CPU overhead. The digital comparators can be operated in four different modes: Always Mode, in which an interrupt or trigger is always asserted when comparison criterion is met; Once Mode, where an interrupt or trigger is always asserted when comparison criterion is met but the previous one did not; Hysteresis Mode, in which an interrupt or trigger is asserted when comparison criterion is met, previous comparison criterion is met, and the hysteresis condition has not been cleared by entering the opposite region; and Hysteresis Always Mode, where an interrupt or trigger is asserted only when the ADC conversion value meets its comparison criteria, the hysteresis condition is clear, and the previous ADC conversion did not meet the comparison criteria. Please note that threshold COMP1 should be greater than or equal to COMP0.

PTM Published on: 2013-09-10