Other Parts Discussed in Thread: TM4C129XNCZAD, TM4C1294NCPDT
The data sheet text infers (each) individual analog comparator can use the +ve input C0+ as external input reference voltage.
Is the Doxygen text just worded strange so it seems ComparatorConfigure can set each ANLGCOMP 0-2 but only for COMP_ASRCP_PIN0 only?
Shouldn't it be (each) comparator, not "for the comparator 0" - there's 3 analog comparators. Perhaps makes more sense if it stated C0+ input of each comparator. The wording in Doxygen differs from the datasheet wording makes it sound like all the comparators use only comparator 0 C0+ input source.
//! - \b COMP_ASRCP_PIN0 to use the Comp0+ pin as the reference voltage (this the same as \b COMP_ASRCP_PIN for the comparator 0).
It seems the configuration below should use (each) comparator C0+ input or does it only use comp0+ input as the Doxygen states?
/* Configure each ANALGCOMP Cx0+ input for (+ve) external * reference input source */ ROM_ComparatorConfigure(COMP_BASE, 0 , (COMP_ASRCP_PIN0)); ROM_ComparatorConfigure(COMP_BASE, 1 , (COMP_ASRCP_PIN0)); ROM_ComparatorConfigure(COMP_BASE, 2 , (COMP_ASRCP_PIN0));
