SLAAEO6A September 2024 – August 2025 MSPM0C1105 , MSPM0C1106 , MSPM0G3507 , MSPM0H3216
The application code cycles through
three different comparator configurations by calling the three functions:
update_comp_configA(), update_comp_configB(),
and update_comp_configC(). Each time after reconfiguring the
comparator, the application code delays 15μs for the propagation and settling delay
before reading the comparator output and setting the respective GPIO.
Figure 6-1 Scanning Comparator
Main.C