參數(shù)資料
型號(hào): HMS99C58S
廠商: Electronic Theatre Controls, Inc.
英文描述: 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
中文描述: 8位單片機(jī)與嵌入式閃存微控制器
文件頁(yè)數(shù): 25/73頁(yè)
文件大?。?/td> 696K
代理商: HMS99C58S
HMS99C51S/52S/54S/56S/58S
Sep. 2004 Ver 1.01
21
TIMER / COUNTER 0 AND 1
Timer/Counter 0 and 1 can be used in four operating modes as listed in Table 4:
In the “timer” function (C/T = “0”) the register is incremented every machine cycle. Therefore the count rate is
f
OSC
/12.
In the “counter” function the register is incremented in response to a 1-to-0 transition at its corresponding ex-
ternal input pin (P3.4/T0, P3.5/T1). Since it takes two machine cycles to detect a falling edge the max. count
rate is f
OSC
/24. External inputs INT0 and INT1 (P3.2, P3.3) can be programmed to function as a gate to facilitate
pulse width measurements. Figure 4 illustrates the input clock logic.
Figure 4. Timer/Counter 0 and 1 Input Clock Logic
Mode
Description
TMOD
Input Clock
Gate
C/T
M1
M0
internal
external (Max.)
0
8-bit timer/counter with a
divide-by-32 prescaler
X
X
0
0
f
OSC
÷
(12
×
32)
f
OSC
÷
(24
×
32)
1
16-bit timer/counter
X
X
0
1
f
OSC
÷
12
f
OSC
÷
24
2
8-bit timer/counter with
8-bit auto-reload
X
X
1
0
f
OSC
÷
12
f
OSC
÷
24
3
Timer/counter 0 used as
one 8-bit timer/counter and
one 8-bit timer Timer 1
stops
X
X
1
1
f
OSC
÷
12
f
OSC
÷
24
Table 4. Timer/Counter 0 and 1 Operating Modes
f
OSC
÷
12
TMOD
f
OSC
÷
12
P3.4/T0
P3.5/T1
Max.
f
OSC
/24
C/T
=1
1
TCON
TR0 / 1
TMOD
Gate
&
P3.2 / INT0
P3.3 / INT1
Timer 0/1
Input Clock
0
1
相關(guān)PDF資料
PDF描述
HMSZ5221B Zener Diodes (52 Series)
HMSZ5247B Zener Diodes (52 Series)
HMSZ5248B Zener Diodes (52 Series)
HMSZ5249B Zener Diodes (52 Series)
HMSZ5250B Zener Diodes (52 Series)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS9XC7132 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MONITOR MICROCONTROLLERS
HMS9XC7132_01 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MONITOR MICROCONTROLLERS
HMS9XC7134 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:8-BIT SINGLE-CHIP MONITOR MICROCONTROLLERS
HMSA 制造商:ADAM-TECH 制造商全稱(chēng):Adam Technologies, Inc. 功能描述:.100 MINI SHUNTS .100 [2.54] CENTERLINE
HMSAG 制造商:ADAM-TECH 制造商全稱(chēng):Adam Technologies, Inc. 功能描述:MINI SHUNTS .050 & .100 [2.54] CENTERLINE