2
\$\begingroup\$

I can't find any difference since both function the same role: define the top value so that timer will reset when reach this value. Both have its interrupt flag and interrupt service routine.

\$\endgroup\$
4
\$\begingroup\$

The difference is that choosing ICRn will allow OCRnA to control the OCnA pin at a value lower than TOP.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.