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

參數資料
型號: W79E648
廠商: WINBOND ELECTRONICS CORP
英文描述: Fast 8051 Compatible microcontroller with a redesigned Processor
中文描述: 快速8051兼容微控制器重新設計的處理器
文件頁數: 44/80頁
文件大小: 407K
代理商: W79E648
Preliminary W79E648
- 44 -
Auto-reload Mode, Counting Up
/Down
Timer/Counter 2 will be in auto-reload mode as an up/down counter if
CP RL
cleared and the DCEN bit in T2MOD is set. In this mode, Timer/Counter 2 is an up/down counter
whose direction is controlled by the T2EX pin. A 1 on this pin cause the counter to count up. An
overflow while counting up will cause the counter to be reloaded with the contents of the capture
registers. The next down count following the case where the contents of Timer/Counter equal the
capture registers will load an FFFFh into Timer/Counter 2. In either event a reload will set the TF2 bit.
A reload will also toggle the EXF2 bit. However, the EXF2 bit can not generate an interrupt while in
this mode.
/
2
bit in T2CON is
C/T = T2CON.1
1/4
1/12
T2M = CKCON.5
Down Counting Reload Value
0FFh
T2CON
.7
Up Counting Reload Value
T2 = P1.0
T2CON.6
TR2 = T2CON.2
T2EX = P1.1
EXF2
Timer 2
Interrupt
TF2
TH2
TL2
RCAP2H
RCAP2L
1
0
0
1
0FFh
DCEN = 1
osc
Figure 16. 16-Bit Auto-reload Up/Down Counter
Baud Rate Generator Mode
The baud rate generator mode is enabled by setting either the RCLK or TCLK bits in T2CON register.
While in the baud rate generator mode, Timer/Counter 2 is a 16 bit counter with auto reload when the
count rolls over from FFFFh. However, rolling over does not set the TF2 bit. If EXEN2 bit is set, then a
negative transition of the T2EX pin will set EXF2 bit in the T2CON register and cause an interrupt
request.
C/T = T2CON.1
0
T2 = P1.0
T2CON.6
TR2 = T2CON.2
T2EX = P1.1
EXEN2 = T2CON.3
EXF2
Timer 2
overflow
Timer 2
Interrupt
TH2
TL2
RCAP2H
RCAP2L
1
osc
Figure 17. Baud Rate Generator Mode
相關PDF資料
PDF描述
W79E802 8-BIT MICROCONTROLLER
W79E802A 8-BIT MICROCONTROLLER
W79E802ADG 8-BIT MICROCONTROLLER
W79E802ASG 8-BIT MICROCONTROLLER
W79E803 8-BIT MICROCONTROLLER
相關代理商/技術參數
參數描述
W79E658A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E659A40FL 制造商:Nuvoton Technology Corp 功能描述:IC MCU 8BIT 100QFP
W79E802 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802A 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W79E802ADG 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER