| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Using Buzzer Function HT49 Series A0023E HT49 series provide
Top Searches for this datasheetUsing Buzzer Function HT49 Series Using Buzzer Function HT49 Series A0023E HT49 series provide pair buzzer output pins known which pin-shared with pins PA1. choice whether these pins function pins buzzer pins determined configuration option. buzzer output frequency extends over range source/2 ~clock source/2 which cannot changed once selected configuration option. After buzzer output chosen, made operate clearing bits PA.0 PA.1 PA.0=0 PA.1=0 same time. PA.0 buzzer outputs will disabled. However only PA.1 buzzer will keep functioning only pin. following table illustrates this: PA.0 PA.1 Buzzer Output sound Maximum volume both outputs active Reduced volume only active Program Example Bzfreq choose buzzer output frequency range from clock source/2 ~clock source/2 Configuration Options Hardware connect buzzer pins PA.0 PA.1 PA0/1 choose output; Using Buzzer Function HT49 Series Application Circuit following table shows range buzzer output frequencies with different clock sources configuration options Buzzer Frequency Clock Source/2 Clock Source/2 Clock Source/2 Clock Source/2 Clock Source/2 Clock Source/2 Clock Source/2 Clock Source/2 Clock Source (12kHz) 3000.0000Hz 1500.0000Hz 750.0000Hz 375.0000Hz 187.5000Hz 93.7500Hz 46.8750Hz 23.4375Hz (32.768kHz) 8192Hz 4096Hz 2048Hz 1024Hz 512Hz 216Hz 128Hz 64Hz System Clock/4 1MHz/4 2MHz/4 4MHz/4 125000.000Hz 62500.000Hz 31250.000Hz 15625.000Hz 7812.500Hz 3906.250Hz 1953.125Hz 62500.00000Hz 125000.0000Hz 250000.000Hz 31250.00000Hz 62500.0000Hz 15625.00000Hz 31250.0000Hz 7812.50000Hz 3906.25000Hz 1953.12500Hz 976.56260Hz 488.28125Hz 15625.0000Hz 7812.5000Hz 3906.2500Hz 1953.1250Hz 976.5626Hz Program list ;-;FILE NAME BUZZER.ASM ;Writer Chin Juan ;Purpose Introduction using HT49 series buzzer ;Hardware connection connect buzzer PA.0 PA.1 include ht49r50a-1.inc .section code start ;-data .section data count1 count2 ;-code Using Buzzer Function HT49 Series main .section code start: pa.0 pa.1 call delay call delay pa.1 pa.0 call delay call delay pa.0 pa.1 call delay call delay pa.0 call delay call delay start ;set buzzer outputs ;delay ;clear buzzer output ;delay ;set buzzer outputs ;delay ;clear pa.0 output ;delay ;-;;; ;delay subprogram delay proc a,0ffh count1,a count2,a loop1 count1 loop1 count2 loop1 delay endp Program Instruction Flow First, buzzer output disabled, wait second. buzzer will emit sound with both active half second then stop second. buzzer will again emit sound, with lower volume only will active, half second will then return condition Other recent searchesSI-3101S - SI-3101S SI-3101S Datasheet PT65S - PT65S PT65S Datasheet NX1612AA - NX1612AA NX1612AA Datasheet MTVA0X00N0XF - MTVA0X00N0XF MTVA0X00N0XF Datasheet MCN51 - MCN51 MCN51 Datasheet LA6531 - LA6531 LA6531 Datasheet IPB60R250CP - IPB60R250CP IPB60R250CP Datasheet IMP1117 - IMP1117 IMP1117 Datasheet BFR93A - BFR93A BFR93A Datasheet BFR93AR - BFR93AR BFR93AR Datasheet
Privacy Policy | Disclaimer |