參數(shù)資料
型號: HMS81C2020ALQ
廠商: Electronic Theatre Controls, Inc.
英文描述: IND SM 4.7UH 15%
中文描述: CMOS單芯片8位微控制器與A / D轉(zhuǎn)換器
文件頁數(shù): 70/107頁
文件大?。?/td> 1482K
代理商: HMS81C2020ALQ
HMS81C2012A/2020A
66
SEP. 2004 Ver 2.00
15. BUZZER FUNCTION
The buzzer driver block consists of 6-bit binary counter,
buzzer register BUR, and clock source selector. It gener-
ates square-wave which has very wide range frequency
(480Hz ~ 250kHz at f
XIN
= 4MHz) by user software.
A 50% duty pulse can be output to R03/BUZO pin to use
for piezo-electric buzzer drive
. Pin R03 is assigned for output
port of Buzzer driver by setting the bit 3 of R0FUNC(address
0F4
H
) to “1”.
At this time, the pin R03 must be defined as
output mode (the bit 3 of R0IO=1).
Example: 5kHz output at 4MHz.
LDM
LDM
R0IO,#XXXX_1XXXB
BUR,#0011_0010B
LDM
R0FUNC,#XXXX_1XXXB
X means don’t care
The bit 0 to 5 of BUR determines output frequency for
buzzer driving.
Equation of frequency calculation is shown below.
f
BUZ
: Buzzer frequency
f
XIN
: Oscillator frequency
Divide Ratio: Prescaler divide ratio by BUCK[1:0]
BUR: Lower 6-bit value of BUR. Buzzer period value.
The frequency of output signal is controlled by the buzzer
control register BUR.The bit 0 to bit 5 of BUR determine
output frequency for buzzer driving.
Figure 15-1 Block Diagram of Buzzer Driver
Figure 15-2 R0FUNC and Buzzer Register
f
BUZ
f
DivideRatio
BUR
1
+
(
)
×
×
2
=
P
÷
8
÷
32
÷
16
÷
64
BUR
R03/BUZO PIN
R0FUNC
Internal bus line
R03 port data
XIN PIN
6-bit binary
2
6
[0DE
H
]
[0F4
H
]
0
1
F/F
÷
2
Comparator
Compare data
6-BIT COUNTER
MUX
00
01
10
11
Port selection
3
BUR[5:0]
Buzzer Period Data
BUR
ADDRESS: 0DE
RESET VALUE: Undefined
W
W
W
W
W
W
Source clock select
00:
÷
8
01:
÷
16
10:
÷
32
11:
÷
64
R03/BUZO Selection
0: R03 port (Turn off buzzer)
1: BUZO port (Turn on buzzer)
R0FUNC
ADDRESS : 0F4
RESET VALUE : ---- 0000
B
W
W
W
-
-
W
W
BUCK1BUCK0
W
-
-
BUZO
EC0
INT1
INT0
相關(guān)PDF資料
PDF描述
HMS81C2020AQ CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HN2716 2048-word x 8bit Erasable and Electrically Programmable Only Memory
HN27512 512K (64K X 8 BIT ) UV AND OTP EPROM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS81C2020AQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2112A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C2120A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]