Hi All,
I am trying to use TimerB of ATmega1608 in Single shot mode. The event to trigger this single shot mode comes from internal Analog comparator. I first initialized the Analog comparator and saw its output on pin 1 of MCU and it works as expected. Now, this output from anlaog comparator technically should trigger timerB in shingle shot mode, but its not doing right now. I am attaching my timer B snippet, please can someone tell me, is it configured correctly? If needed I can also attach my Event system configuration and Analog comparator configuration.