欢迎访问ic37.com |
会员登录 免费注册
发布采购

EM6621 参数 Datasheet PDF下载

EM6621图片预览
型号: EM6621
PDF下载: 下载PDF文件 查看货源
内容描述: 超低功耗微控制器的4x20 LCD驱动 [Ultra Low Power Microcontroller with 4x20 LCD Driver]
分类和应用: 微控制器驱动
文件页数/大小: 69 页 / 746 K
品牌: EMMICRO [ EM MICROELECTRONIC - MARIN SA ]
 浏览型号EM6621的Datasheet PDF文件第24页浏览型号EM6621的Datasheet PDF文件第25页浏览型号EM6621的Datasheet PDF文件第26页浏览型号EM6621的Datasheet PDF文件第27页浏览型号EM6621的Datasheet PDF文件第29页浏览型号EM6621的Datasheet PDF文件第30页浏览型号EM6621的Datasheet PDF文件第31页浏览型号EM6621的Datasheet PDF文件第32页  
EM6621
7.1.1 Single Run Mode
The RegMelPeri value and the selected timer frequency in RegMelTim control the timer duration. The timer is
counting down from its previously charged value until it reaches 0. On 0 the timer stops and generates an
interrupt request. The buzzer frequency output is enabled after the next positive timer clock edge and remains
enabled until the timer reaches 0.
Figure 20. Single Run Mode
Tim er Clock
Tim er Value
2
1
0
1
0
Buzzer
IRQBz
µP writes 2 into
RegMelPeri
µP writes 1 into
RegMelPeri
7.1.2 Continuos Run Mode
This is almost the same as the single run mode only that in this case the timer after reaching 0 reloads itself
automatically with the register
RegMelPeri
value. Every time the timer reaches 0 an interrupt request is send.
There are 2 ways to stop the continuos mode.
First, changing the mode to single run mode. As the timer reaches 0 it stops. The last period after
Auto=0
is
of length
RegMelPeri + 1.
Second, loading 0 into the timer period register
RegMelPeri
stops the timer immediately, no interrupt is
generated and the
Auto
flag is reset. The buzzer frequency output is enabled directly by writing
Auto=1.
Figure 21. Continuos Run Mode
Timer Clock
Timer Value
2
1
0
2
1
0
2
1
0
Buzzer
IRQBz
µP writes 2
into
RegMelPeri
µP writes
Auto = 1
n periods
n+1 periods
µP writes
Auto = 0
©
EM Microelectronic-Marin SA, 03/99, Rev. B/
03/02 REV. D/444
Copyright
2002, EM Microelectronic-Marin SA
28
www.emmicroelectronic.com