[an error occurred while processing this directive]
|
Clear Timer/Counter on
Compare Match with
Prescaler (Applies to all
Timer/Counters)
The relation between a Clear on Compare match and the internal counting of the
Timer/Counter has been changed. The Clear on Compare Match in the ATmega103
clears the Timer/Counter after the first internal count matching the compare value,
whereas the ATmega128 clears the Timer/Counter after the last internal count matching
the compare value. See Figure 1 and Figure 2 for details on clearing, flag setting, and
pin change.
Т.е. прескалер у 128 сбрасывается по окончании своего счета, а у 103 сразу-же по достижении сравнения:
103:
000000001111111122222222300000000111...
^
interrupt
128:
0000000011111111222222223333333300000000111...
^
interrupt
E-mail: info@telesys.ru