国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數(shù)資料
型號(hào): W77E058A40PL
廠商: WINBOND ELECTRONICS CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 40 MHz, MICROCONTROLLER, PQCC44
封裝: ROHS COMPLIANT, PLASTIC, LCC-44
文件頁(yè)數(shù): 56/87頁(yè)
文件大小: 594K
代理商: W77E058A40PL
W77E058A
- 56 -
12.3 Timer/Counter 2
Timer/Counter 2 is a 16 bit up/down counter which is configured by the T2MOD register and controlled
by the T2CON register. Timer/Counter 2 is equipped with a capture/reload capability. As with the
Timer 0 and Timer 1 counters, there exists considerable flexibility in selecting and controlling the
clock, and in defining the operating mode. The clock source for Timer/Counter 2 may be selected for
either the external T2 pin (C/T2 = 1) or the crystal oscillator, which is divided by 12 or 4 (C/T2 = 0).
The clock is then enabled when TR2 is a 1, and disabled when TR2 is a 0.
1/4
1/12
T0M = CKCON.3
1
Interrupt
C/T = TMOD.2
0
T0 = P3.4
TH0
TL0
TR0 = TCON.4
GATE = TMOD.3
TR1 = TCON.6
INT0 = P3.2
7
0
TF1
7
0
Interrupt
TF0
0
1
Clock Source
Mode input
div. by 4 osc/1
div. by 64 osc/16
div. by 1024 osc/256
Figure 13. Timer/Counter 0 Mode 3
12.3.1 Capture Mode
The capture mode is enabled by setting the
CP RL
mode, Timer/Counter 2 serves as a 16 bit up counter. When the counter rolls over from FFFFh to
0000h, the TF2 bit is set, which will generate an interrupt request. If the EXEN2 bit is set, then a
negative transition of T2EX pin will cause the value in the TL2 and TH2 register to be captured by the
RCAP2L and RCAP2H registers. This action also causes the EXF2 bit in T2CON to be set, which will
also generate an interrupt. Setting the T2CR bit (T2MOD.3), the W77E058 allows hardware to reset
timer 2 automatically after the value of TL2 and TH2 have been captured.
/
2
bit in the T2CON register to a 1. In the capture
相關(guān)PDF資料
PDF描述
W77E058A 8-BIT MICROCONTROLLER
W77E468F-25 8 BIT MICROCONTROLLER
W77E468F-40 8 BIT MICROCONTROLLER
W77E468 8 BIT MICROCONTROLLER
W77E516 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W77E11 制造商:OMRON INDUSTRIAL AUTOMATION 功能描述:EXECUTION EX. NO.1 DX CODE ZA
W77E468 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W77E468F-25 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W77E468F-40 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W77E516 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER