In summary, an ADC is a peripheral that converts an analog voltage to a discrete digital number. The TM4C123x family of MCUs features two ADC modules which share twenty four analog input channels, each with 12 bit output resolution. To allow sampling of multiple analog input sources without MCU intervention, each ADC module contains four programmable sequencers which can be configured for various applications. Each ADC module has an internal temperature sensor used to sense the die temperature for reliable system operation. Both ADC modules support single-ended and differential modes of operation, and each is capable of sampling at 1 Msps. An analog comparator compares two analog voltages and provides a logic output. The comparator can act as a replacement for an external analog comparator. TM4C123x devices contain three analog comparators that can be used to signal an application via interrupts, or trigger the start of a sample sequence in the ADC. Interrupt generation and ADC triggering logic are separate and independent, meaning, for example, that an interrupt can be generated on a rising edge and the ADC can be triggered on a falling edge.

