![Samsung KS86C6004 Manual Download Page 141](http://html.mh-extra.com/html/samsung/ks86c6004/ks86c6004_manual_349396141.webp)
KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
BASIC TIMER and TIMER 0
10-7
TIMER 0 FUNCTION DESCRIPTION
Interval Match Mode
In interval match mode, a match signal is generated when the counter value is identical to the value written to
the T0 reference data register, T0DATA. The match signal generates a timer 0 match interrupt and then clears
the counter. If for example, you write the value '10H' to T0DATA, the counter will increment until it reaches '10H'.
At this point, the T0 match interrupt is generated, the counter value is reset and counting resumes.
Overflow Mode
In overflow mode, a overflow signal is generated regardless of the value written to the T0 reference data register
when the counter value is overflowed. The overflow signal generates a timer 0 overflow interrupt and then T0
counter is cleared.
Counter
Comparator
T0DATA Buffer Register
CLK
R
Match
T0INT
T0OVF
Data Bus
8
T0PND
T0DATA
When 8-Bit counter is cleared,
this buffer is open
Data Bus
8
Figure 10-5. Simplified Timer 0 Function Diagram: Interval Timer Mode
Summary of Contents for KS86C6004
Page 19: ...ADDRESS SPACES KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 2 8 NOTES ...
Page 61: ...CONTROL REGISTERS KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 4 30 NOTES ...
Page 120: ...CLOCK CIRCUIT KS86C6004 C6008 P6008 MICROCONTROLLERS Preliminary Spec 7 4 NOTES ...
Page 134: ...I O PORTS KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 9 10 NOTES ...
Page 143: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec BASIC TIMER and TIMER 0 10 9 NOTES ...
Page 162: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec ELECTRICAL DATA 12 9 ...
Page 164: ...KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec ELECTRICAL DATA 12 11 NOTES ...
Page 172: ...KS86P6008 OTP KS86C6004 C6008 P6008 MICROCONTROLLER Preliminary Spec 14 6 NOTES ...