![Samsung S3C80M4/F80M4 Скачать руководство пользователя страница 213](http://html1.mh-extra.com/html/samsung/s3c80m4-f80m4/s3c80m4-f80m4_user-manual_3996174213.webp)
S3C80M4/F80M4
8-BIT TIMER 0
11-1
11
8-BIT TIMER 0
OVERVIEW
The 8-bit timer 0 is an 8-bit general-purpose timer/counter.
Timer 0 has the following functional components:
— Clock frequency divider (fxx divided by 1024, 256, 64, 8 or 1) with multiplexer
— External clock input pin (T0CLK)
— 8-bit counter (T0CNT), 8-bit comparator, and 8-bit reference data register (T0DATA)
— I/O pins for match output (T0OUT)
— Timer 0 interrupt (IRQ0, vector EEH) generation
— Timer 0 control register, T0CON (set 1, Bank 0, E6H, read/write)
TIMER 0 FUNCTION DESCRIPTION
Interval Timer Mode
The timer 0 can generate an interrupt, the timer 0 match interrupt (T0INT). T0INT belongs to interrupt level IRQ0,
and is assigned the separate vector address, EEH.
The T0INT pending condition should be cleared by software when it has been serviced. Even though T0INT is
disabled, the application’s service routine can detect a pending condition of T0INT by the software and execute its
sub-routine. When this case is used, the T0INT pending bit must be cleared by application sub-routine by writing a
“0” to the T0CON.0 pending bit.
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
EEH) and 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
Содержание S3C80M4/F80M4
Страница 1: ...S3C80M4 F80M4 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Страница 44: ...ADDRESS SPACES S3C80M4 F80M4 2 20 NOTES ...
Страница 84: ...CONTROL REGISTERS S3C80M4 F80M4 4 26 NOTES ...
Страница 102: ...INTERRUPT STRUCTURE S3C80M4 F80M4 5 18 NOTES ...
Страница 190: ...INSTRUCTION SET S3C80M4 F80M4 6 88 NOTES ...
Страница 202: ...RESET and POWER DOWN S3C80M4 F80M4 8 6 NOTES ...
Страница 216: ...8 BIT TIMER 0 S3C80M4 F80M4 11 4 NOTES ...
Страница 220: ...8 BIT PULSE WIDTH MODULATION S3C80M4 F80M4 12 4 NOTES ...
Страница 230: ...ELECTRICAL DATA S3C80M4 F80M4 13 10 NOTES ...
Страница 248: ...DEVELOPMENT TOOLS S3C80M4 F80M4 16 8 NOTES ...
Страница 249: ...This datasheet has been downloaded from www DatasheetCatalog com Datasheets for electronic components ...