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.
1 Answer
\$\begingroup\$
\$\endgroup\$
The difference is that choosing ICRn
will allow OCRnA
to control the OCnA
pin at a value lower than TOP
.