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\$

1 Answer 1

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 and acknowledge you have read our privacy policy.

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