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

HT37B90 参数 Datasheet PDF下载

HT37B90图片预览
型号: HT37B90
PDF下载: 下载PDF文件 查看货源
内容描述: [HT37B90]
分类和应用:
文件页数/大小: 80 页 / 926 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT37B90的Datasheet PDF文件第46页浏览型号HT37B90的Datasheet PDF文件第47页浏览型号HT37B90的Datasheet PDF文件第48页浏览型号HT37B90的Datasheet PDF文件第49页浏览型号HT37B90的Datasheet PDF文件第51页浏览型号HT37B90的Datasheet PDF文件第52页浏览型号HT37B90的Datasheet PDF文件第53页浏览型号HT37B90的Datasheet PDF文件第54页  
HT37B90/HT37B70/HT37B50/HT37B30  
External RC Oscillation Converter  
An external RC oscillation converter is implemented in  
certain devices and is a function which allows touch  
switch functions to be implemented. When used in con-  
junction with the Analog Switch function up to eight  
touch switches can be implemented.  
ternal RC oscillator is the clock source input to TMRBH  
and TMRBL. The OVB bit, which is bit 0 of the RCOCR  
register, decides whether the timer interrupt is sourced  
from either the Timer A overflows or Timer B overflow.  
When a timer overflow occurs, the RCOCF bit is set and  
an external RC oscillation converter interrupt occurs.  
When the RC oscillation converter Timer A or Timer B  
overflows, the RCOCON bit is automatically reset to  
zero and stops counting.  
External RC Oscillation Converter Operation  
The RC oscillation converter is composed of two 16-bit  
count-up programmable timers. One is Timer A and the  
other is counter known as Timer B. The RC oscillation  
converter is enabled when the RCO bit, which is bit 1 of  
the RCOCR register, is set high. The RC oscillation con-  
verter will then be composed of four registers, TMRAL,  
TMRAH, TMRBL and TMRBH. The Timer A clock  
source comes from the fSYS or fSYS/4, the choice of which  
is determined by bits in the RCOCCR register. The RC  
oscillation converter Timer B clock source comes from  
an external RC oscillator. As the oscillation frequency is  
dependent upon external capacitance and resistance  
values, it can therefore be used to detect the increased  
capacitance of a touch switch pad.  
The resistor and capacitor form an oscillation circuit and  
input to TMRBH and TMRBL. The RCOM0, RCOM1  
and RCOM2 bits of RCOCCR define the clock source of  
Timer A.  
When the RCOCON bit, which is bit 4 of the RCOCCR  
register, is set high, Timer A and Timer B will start count-  
ing until Timer A or Timer B overflows. Now the timer  
counter will generate an interrupt request flag which is  
bit RCOCF, bit 5 of the INTCH register. Both Timer Aand  
Timer B will then stop counting and the RCOCON bit will  
automatically be reset to ²0² at the same time. Note that  
if the RCOCON bit is high, the TMRAH, TMRAL,  
TMRBH and TMRBL registers cannot be read or written  
to.  
There are six registers related to the RC oscillation con-  
verter. These are, TMR2H, TMR2L, RCOCCR, TMR4H,  
TMR4L and RCOCR. The internal timer clock is the in-  
put clock source for TMRAH and TMRAL, while the ex-  
RCOCCR Register  
RCOCR Register  
Rev. 1.00  
50  
June 22, 2017  
 复制成功!