Part Number: AMC1210
Hello,
I would like to set the high level threshold during run time (say, 10ms task).
What would be sequence of register control to write the high level threshold value without distrubing the comparator operation during running (like, turn off the comparator, change the setting and turn on the comparator again).
Register setting that used in the initialisation,
AMC1210_CONTROLPARAM_FLT0_CFGVAL (0x0000u)
AMC1210_SINCFILTER_FLT0_CFGVAL (0x0F3Fu)
AMC1210_INTEGRATOR_FLT0_CFGVAL (0x053Fu)
AMC1210_HIGHLEVELTHRESH_FLT0_CFGVAL (0x7FFFu)
AMC1210_LOWLEVELTHRESH_FLT0_CFGVAL (0x4000u)
AMC1210_COMPPARAMETER_FLT0_CFGVAL (0x03BFu)
AMC1210_CONTROL_CFGVAL (0x6000u)
AMC1210_CLKDIVIDER_CFGVAL (0x0800u)