參數(shù)資料
型號: GMS81C5016-XXXQT
英文描述: MICROCONTROLLER|8-BIT|CMOS|QFP|44PIN|PLASTIC
中文描述: 單片機| 8位|的CMOS | QFP封裝| 44PIN |塑料
文件頁數(shù): 47/93頁
文件大?。?/td> 853K
代理商: GMS81C5016-XXXQT
GMS81C1404/GMS81C1408
June. 2001 Ver 1.2
45
13.2 16-bit Timer/Counter Mode
The Timer register is being run with 16 bits. A 16-bit timer/
counter register T0, T1 are increased from 0000
H
until it
matches TDR0, TDR1 and then resets to 0000
H
. The
match output generates Timer 0 interrupt not Timer 1 in-
terrupt.
The clock source of the Timer 0 is selected either internal
or external clock by bit T0CK2, T0CK1 and T0SL0.
In 16-bit mode, the bits T1CK1,T1CK0 and 16BIT of TM1
should be set to “1” respectively.
Figure 13-5 16-bit Timer / Counter Mode
13.3 8-bit Compare Output (16-bit)
The GMS81C1404 and GMS81C1408 has a function of
Timer Compare Output. To pulse out, the timer match can
goes to port pin(COMP0) as shown in Figure 13-2 and Fig-
ure 13-5 . Thus, pulse out is generated by the timer match.
These operation is implemented to pin, RB4/COMP0/
PWM.
This pin output the signal having a 50: 50 duty square
wave, and output frequency is same as below equation.
In this mode, the bit PWMO of RB function register (RB-
FUNC) should be set to “1”, and the bit PWME of timer1
mode register (TM1) should be set to “0”.
In addition, 16-bit Compare output mode is available, also.
13.4 8-bit Capture Mode
The Timer 0 capture mode is set by bit CAP0 of timer
mode register TM0 (bit CAP1 of timer mode register TM1
for Timer 1) as shown in Figure 13-6 .
As mentioned above, not only Timer 0 but Timer 1 can also
be used as a capture mode.
The Timer/Counter register is increased in response inter-
nal or external input. This counting function is same with
normal timer mode, and Timer interrupt is generated when
TM0
ADDRESS : D0H
RESET VALUE : --000000
-
-
CAP0
T0CK2
T0CK1
T0CK0
T0CN
T0ST
TM1
ADDRESS : D2H
RESET VALUE : 00000000
POL
16BIT
PWME
CAP1
T1CK1
T1CK0
T1CN
T1ST
-
-
0
X
X
X
X
X
X
1
0
0
1
1
X
X
÷
2
÷
4
÷
8
÷
32
÷
128
÷
512
÷
2048
fxin
EC0
Edge Detector
MUX
1
T1 (8-bit)
TDR1 (8-bit)
T0IF
CLEAR
COMPARATOR
TIMER 0
INTERRUPT
T0 (8-bit)
TDR0 (8-bit)
T0ST
0 : Stop
1 : Clear and Start
T0CN
T0CK[2:0]
F/F
COMP0 PIN
X: The value “0” or “1” corresponding your operation.
jvtw
)
+
------------------------------------------------------------------------------------------
=
相關(guān)PDF資料
PDF描述
GMS81C5016-XXXSK MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC
GMS81C5024-XXX MICROCONTROLLER|8-BIT|CMOS|DIP|40PIN|PLASTIC
GMS81C5024-XXXD MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5024-XXXDT MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5024-XXXPL MICROCONTROLLER|8-BIT|CMOS|LDCC|44PIN|PLASTIC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GMS81C5016-XXXSK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|DIP|28PIN|PLASTIC
GMS81C5024 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:8-BIT SINGLE CHIP MICROCONTROLLERS
GMS81C5024-XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|DIP|40PIN|PLASTIC
GMS81C5024-XXXD 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC
GMS81C5024-XXXDT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|SOP|28PIN|PLASTIC