![Samsung S3F80P5X Скачать руководство пользователя страница 241](http://html.mh-extra.com/html/samsung/s3f80p5x/s3f80p5x_user-manual_349401241.webp)
S3F80P5_UM_ REV1.00
BASIC TIMER and TIMER 0
10
BASIC TIMER and TIMER 0
OVERVIEW
The S3F80P5 has two default timers: the 8-bit basic timer and the 8-bit general-purpose timer/counter.
The 8-bit timer/counter is called timer 0
.
BASIC TIMER (BT)
You can use the basic timer (BT) in two different ways:
— As a watch-dog timer to provide an automatic reset mechanism in the event of a system malfunction
— To signal the end of the required oscillation stabilization interval after a reset or a Stop mode release.
The functional components of the basic timer block are:
— Clock frequency divider (f
OSC
divided by 16384, 4096, 1024 or 128) with multiplexer
— 8-bit basic timer counter, BTCNT (FDH, Set 1, Bank0, Read-only)
— Basic timer control register, BTCON (D3H, Set 1, Bank0, R/W)
TIMER 0
Timer 0 has three operating modes, one of which you select using the appropriate T0CON setting:
— Interval timer mode
— Capture input mode with a rising or falling edge trigger at the P3.0 pin
— PWM
mode
Timer 0 has the following functional components:
— Clock frequency divider (f
OSC
divided by 4096, 256 or 8) with multiplexer
— External clock input pin (T0CK)
—
8-bit timer 0 counter (T0CNT), 8-bit comparator, and 8-bit reference data register (T0DATA)
— I/O pins for capture input (T0CAP) or match output
— Timer 0 overflow interrupt (IRQ0, vector FAH) and match/capture interrupt (IRQ0, vector FCH) generation
— Timer 0 control register, T0CON (D2H, Set 1, Bank0, R/W)
NOTE
The CPU clock should be faster than basic timer clock and timer 0 clock.
10-1
Содержание S3F80P5X
Страница 10: ......
Страница 14: ......
Страница 19: ...S3F80P5_UM_ REV1 00 PRODUCT OVERVIEW BLOCK DIAGRAM 24 PIN PACKAGE Figure 1 1 Block Diagram 24 pin 1 3 ...
Страница 48: ...ADDRESS SPACE S3F80P5_UM_ REV1 00 NOTES 2 22 ...
Страница 122: ...INTERRUPT STRUCTURE S3F80P5_UM_ REV1 00 NOTES 5 18 ...
Страница 210: ...INSTRUCTION SET S3F80P5_UM_ REV1 00 NOTES 6 88 ...
Страница 216: ...CLOCK AND POWER CIRCUITS S3F80P5_UM_ REV1 00 NOTES 7 6 ...
Страница 266: ...COUNTER A S3F80P5_UM_ REV1 00 NOTES 12 8 ...
Страница 290: ...EMBEDDED FLASH MEMORY INTERFACE S3F80P5_UM_ REV1 00 NOTES 14 18 ...
Страница 316: ...S3F80P5_UM_ REV1 00 ELECTRICAL DATA STOP LED This LED is ON when the evaluation chip S3E80PB is in stop mode 19 5 ...
Страница 321: ...DEVELOPMENT TOOLS S3F80P5_UM_ REV1 00 NOTES 19 10 ...