Do Input Capture Unit work in Fast PWM mode when OCRxA is used for TOP counter value (WGMn3:0 is 1)?
Input capture always works, but whether the capture values are readily usable depends. They won't if the counter counts up and down like in normal PWM modes, but with fast PWM it should work, but calculating the interval time is slightly more complicated if the timer does not use the full 8 or 16 bits.
Input capture always works
In simulator ICU does not work in Fast PWM mode. What is in hardware?
© 2020 Microchip Technology Inc.