BASIC TIMER and TIMER 0
S3C9454B/F9454B
10-8
TIMER 0 FUNCTION DESCRIPTION
Interval Timer Mode
In interval timer mode, a match signal is generated when the counter value is identical to the value written to the
Timer 0 reference data register, T0DATA. The match signal generates a Timer 0 match interrupt (T0INT, vector
00H) 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 Timer 0 interrupt request is generated, the counter value is reset and
counting resumes.
Comparator
CLK
Data Register (T0DATA)
Match
T0CON.3
Timer 0 counter clear
PND
IRQ0 (T0INT)
T0CON.1
Interrupt Enable/Disable
R (clear)
Counter (T0CNT)
NOTE:
T0CON.3 is not auto-cleared, you must pay attention when clear pending bit
(refer to P10-12)
Figure 10-5. Simplified Timer 0 Function Diagram (Interval Timer Mode)
Содержание S3C9454B
Страница 1: ...S3C9454B F9454B 8 BIT CMOS MICROCONTROLLER USER S MANUAL Revision 1 ...
Страница 25: ...PRODUCT OVERVIEW S3C9454B F9454B 1 10 NOTES ...
Страница 35: ...ADDRESS SPACES S3C9454B F9454B 2 10 NOTES ...
Страница 65: ...CONTROL REGISTERS S3C9454B F9454B 4 18 NOTES ...
Страница 123: ...CLOCK CIRCUIT S3C9454B F9454B 7 4 NOTES ...
Страница 133: ...RESET and POWER DOWN S39454B F9454B 8 10 NOTES ...
Страница 145: ...I O PORTS S3C9454B F9454B 9 12 NOTES ...
Страница 173: ...A D CONVERTER S3C9454B F9454B 12 8 NOTES ...
Страница 183: ...ELECTRICAL DATA S3C9454B F9454B 13 10 NOTES ...
Страница 193: ...S3F9454B MTP S3C9454B F9454B 15 4 NOTES ...