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

HT45R37-A(28SSOP-A) 参数 Datasheet PDF下载

HT45R37-A(28SSOP-A)图片预览
型号: HT45R37-A(28SSOP-A)
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, UVPROM, 12MHz, CMOS, PDSO28]
分类和应用: 可编程只读存储器LTE微控制器光电二极管
文件页数/大小: 100 页 / 666 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第46页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第47页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第48页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第49页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第51页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第52页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第53页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第54页  
HT45R37  
If configuration options have selected that only the PA0  
pin is to function as a BZ buzzer pin, then the PA1 pin  
can be used as a normal I/O pin. For the PA0 pin to func-  
tion as a BZ buzzer pin, PA0 must be setup as an output  
by setting bit PAC0 of the PAC port control register to  
zero. The PA0 data bit in the PA data register must also  
be set high to enable the buzzer output, if set low pin  
PA0 will remain low. In this way the PA0 bit can be used  
as an on/off control for the BZ buzzer pin PA0. If the  
PAC0 bit of the PAC port control register is set high, then  
pin PA0 can still be used as an input even though the  
configuration option has configured it as a BZ buzzer  
output.  
Note that no matter what configuration option is chosen  
for the buzzer, if the port control register has setup the  
pin to function as an input, then this will override the con-  
figuration option selection and force the pin to always  
behave as an input pin. This arrangement enables the  
pin to be used as both a buzzer pin and as an input pin,  
so regardless of the configuration option chosen; the ac-  
tual function of the pin can be changed dynamically by  
the application program by programming the appropri-  
ate port control register bit.  
I
n
t
e
r
n
a
l
C
l
o
c
k
S
o
u
r
c
e
P
A
0
D
a
t
a
B
Z
O
u
t
p
u
t
a
t
P
A
0
P
A
1
D
a
t
a
B
Z
O
u
t
p
u
t
a
t
P
A
1
Buzzer Output Pin Control  
Note: The above drawing shows the situation where both pins PA0 and PA1 are selected by configuration option to  
be BZ and BZ buzzer pin outputs. The Port Control Register of both pins must have already been setup as out-  
put. The data setup on pin PA1 has no effect on the buzzer outputs.  
Rev. 1.20  
50  
February 25, 2011  
 复制成功!