| Electronic Components Datasheet Search |
|
HT45F12 Datasheet(PDF) 83 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 Datasheet(HTML) 83 Page - Holtek Semiconductor Inc |
|
83 / 104 page ![]() Rev. 0.00 8� �e�te��e� ��� �01� Rev. 0.00 83 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators Buzzer OperatinginasimilarwaytotheProgrammableFrequencyDivider,theBuzzerfunctionprovides ameansofproducingavariablefrequencyoutput,suitableforapplicationssuchasPiezo-buzzer drivingorotherexternalcircuitsthatrequireaprecisefrequencygenerator.TheBZandBZpins formacomplimentarypair,andarepin-sharedwithI/Opins,PA6andPA7.ABPCTLregisteris usedtoselectfromoneofthreebuzzeroptions.ThefirstoptionisforbothpinsPA6andPA7tobe usedasnormalI/Os,thesecondoptionisforbothpinstobeconfiguredasBZandBZbuzzerpins, thethirdoptionselectsonlythePA6pintobeusedasaBZbuzzerpinwiththePA7pinretainingits normalI/Opinfunction.NotethattheBZpinistheinverseoftheBZpinwhichtogethergeneratesa differentialoutputwhichcansupplymorepowertoconnectedinterfacessuchasbuzzers. Thebuzzerisdrivenbytheinternalclocksource,fTB,whichthenpassesthroughadivider,the divisionratioofwhichisselectedbyBPCTLregistertoprovidearangeofbuzzerfrequenciesfrom fTB/22tofTB/29.TheclocksourcethatgeneratesfTB,whichinturncontrolsthebuzzerfrequency,can originatefromtwodifferentsources,theLIRCoscillatorortheSystemoscillator/4,thechoiceof whichisdeterminedbythefTBclocksourceoption.Notethatthebuzzerfrequencyiscontrolledby BPCTLregister,whichselectthesourceclockfortheinternalclockfTB. BZ BZ (S e t b y BP CT L Re gi st er ) Di vi de b y 2 2 ~2 9 f TB BZ 2 BZ 1 BZ 0 M U X LI RC f SY S /4 TB CK B it f TB C Buzzer Function If the BPCTL options have selected both pins PA6 and PA7 to function as a BZ and BZ complementarypairofbuzzeroutputs,thenforcorrectbuzzeroperationitisessentialthatbothpins mustbesetupasoutputsbysettingbitsPAC6andPAC7ofthePACportcontrolregistertozero. ThePA6databitinthePAdataregistermustalsobesethightoenablethebuzzeroutputs,ifsetlow, bothpinsPA6andPA7willremainlow.InthiswaythesinglebitPA6ofthePAregistercanbeused asanon/offcontrolforboththeBZandBZbuzzerpinoutputs.NotethatthePA7databitinthePA registerhasnocontrolovertheBZbuzzerpinPA7. BPCTL Register Bit 7 6 5 4 3 2 1 0 Na�e — — — BC1 BC0 BZ� BZ1 BZ0 R/W — — — R/W R/W R/W R/W R/W POR — — — 0 0 0 0 0 Bit7~5 Unimplemented,readas“0” Bit4~3 BC1, BC0:BuzzerorI/O 00:PA7isI/O,PA6isI/O 01:PA7isI/O,PA6isBZ 10:Reserved 11:PA7isBZ,PA6isBZ Bit1~0 BZ2~BZ0:Buzzeroutputfrequencyselection 000:fTB/22 001:fTB/23 010:fTB/24 011:fTB/25 100:fTB/26 101:fTB/27 110:fTB/28 111:fTB/29 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| 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 Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |