SLAAEO6 September 2024 MSPM0G3507
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.