Page
31
Non-inverted - Cleared on upcount, set on downcount
Inverted - Set on upcount, cleared on downcount
Output Compare
The value of Timer 0 is compared with the value set in the
Compare Value
Field. When a match
is detected, the effect on the output pin (OC0 - pin 14) is set by the
Output
radio buttons.
If the Clear Timer box is checked, the timer is reset to $00 in the CPU clock cycle after a match.
The output can be configured as illustrated.
Timer 1 Window
Timer 1 is 16-bit and is far more complicated than Timer 0 and has many more operating modes.
Standard Operation
Regardless of which other options are selected, Timer 1 can operate in Timer or Counter mode If
Source
is set to Timer, Timer 1 increments from the system clock. If it is set to Counter, it
increments on either rising or falling edge (set by
Edge
) on T1 pin (pin31 - PD6).
A
prescaler
can be applied to increase overflow time in timer mode.
Содержание STK300
Страница 1: ...Page 1 STK300 USER MANUAL Published by KANDA SYSTEMS LTD www kanda com...
Страница 33: ...Page 33 Timer 2 Window Timer 2 is an 8 bit Timer Counter Standard Operation...
Страница 42: ...Page 42 Port F Window Port F is input only Any bits not used by the ADC can be used for standard input...
Страница 45: ...Page 45...