5. Counter/Timers
ÛZIATECH
41
Counter/Timer Operating Modes
Mode Counter/Timer Output Operation
0
Transitions after programmed count expires
Gate enables and disables counting
1
Transitions after programmed count expires
Gate triggers and retriggers counting
2
Periodic single pulse after programmed count expires
Gate restarts counting
3
Square wave with frequency equal to programmed count
Gate enables and disables counting
4
Single pulse after programmed count expires
Gate enables and disables counting
5
Single pulse after programmed count expires
Gate triggers and retriggers counting
PC-Compatible Counter/Timer (CTC 1) Architecture
TIMER 0
CLK0
OUT0
GATE0
INTERRUPT IR0
SYSTEM TIMER
TICK
1.19318 MHz
LOGICAL ONE
TIMER 1
CLK1
OUT1
GATE1
REFRESH
COUNTER
1.19318 MHz
LOGICAL ONE
TIMER 2
CLK2
OUT2
GATE2
SPEAKER
FREQUENCY
1.19318 MHz
LOGICAL ONE
ZT 8907