Motor de Búsqueda de Datasheet de Componentes Electrónicos
Selected language     Spanish  ▼

Delete All
ON OFF
ALLDATASHEET.ES

X  

Preview PDF Download HTML

GMS81C2112 Datasheet(PDF) 69 Page - Hynix Semiconductor

No. de Pieza. GMS81C2112
Descripción  HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
Descarga  107 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Fabricante  HYNIX [Hynix Semiconductor]
Página de inicio  http://www.skhynix.com/ko/index.jsp
Logo 

GMS81C2112 Datasheet(HTML) 69 Page - Hynix Semiconductor

Zoom Inzoom in Zoom Outzoom out
 69 / 107 page
background image
GMS81C2112/GMS81C2120
JUNE. 2001 Ver 1.00
63
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 fXIN= 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
0F4H) 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
R0IO,#XXXX_1XXXB
LDM
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.
fBUZ: Buzzer frequency
fXIN: 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
XIN
2
DivideRatio
BUR
1
+
()
×
×
----------------------------------------------------------------------------
=
÷8
÷32
÷16
÷64
BUR
R03/BUZO PIN
R0FUNC
Internal bus line
R03 port data
XIN PIN
6-bit binary
2
6
[0DEH]
[0F4H]
0
1
F/F
÷2
Comparator
Compare data
6-BIT COUNTER
MUX
00
01
10
11
Port selection
3
BUR[5:0]
BUR
ADDRESS: 0DEH
RESET VALUE: Undefined
WW
W
W
WW
Source clock select
00:
÷ 8
01:
÷ 16
10:
÷ 32
11:
÷ 64
Buzzer Period Data
R03/BUZO Selection
R0FUNC
ADDRESS : 0F4H
RESET VALUE : ---- 0000B
W
-
-
0: R03 port (Turn off buzzer)
1: BUZO port (Turn on buzzer)
WW
W
BUCK1 BUCK0
WW
-
-
BUZO
EC0
INT1
INT0


Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download




Enlace URL




Privacy Policy
ALLDATASHEET.ES
Does ALLDATASHEET help your business so far?  [ DONATE ]  

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Favorito   |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn