W79E532A40DL Datasheet

  • W79E532A40DL

  • 8-BIT MICROCONTROLLER

  • 523.22KB

  • Winbond

扫码查看芯片数据手册

上传产品规格书

PDF预览

W79E532/W79L532
Auto-reload Mode, Counting Up
/Down
Timer/Counter 2 will be in auto-reload mode as an up/down counter if
CP / RL2
bit in T2CON is
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.
Down Counting Reload Value
T2M = CKCON.5
1/4
0FFh
0FFh
osc
1/12
T2 = P1.0
TR2 = T2CON.2
1
0
C/T = T2CON.1
0
T2CON
.7
TL2
TH2
1
TF2
Timer 2
Interrupt
RCAP2L
RCAP2H
Up Counting Reload Value
T2EX = P1.1
EXF2
T2CON.6
DCEN = 1
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.
Timer1
Overflow
1/2
Fosc
1/2
C/T2=T2CON.1
0
Timer2
Overflow
0
RCLK=
T2CON.5
1
TCLK=
T2CON.4
1
0
0
1 SMOD=
PCON.7
TL2
T2=P1.0
TR2=T2CON.2
1
TH2
1/16
Rx Clock
RCAP2L
T2EX=P1.1
RCAP2H
EXF2
T2CON.6
1/16
Timer2
Interrupt
Tx Clock
EXEN2=T2CON.3
Figure 17. Baud Rate Generator Mode
- 42 -

W79E532A40DL 产品属性

  • 10

  • 集成电路 (IC)

  • 嵌入式 - 微控制器,

  • W79

  • 8052

  • 8-位

  • 40MHz

  • EBI/EMI,串行端口

  • POR,PWM,WDT

  • 32

  • 128KB(128K x 8)

  • 闪存

  • -

  • 1.25K x 8

  • 3 V ~ 5.5 V

  • -

  • 内部

  • 0°C ~ 70°C

  • 40-DIP

  • 管件

W79E532A40DL相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!