| Electronic Components Datasheet Search |
|
HT83B60 Datasheet(PDF) 25 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 Datasheet(HTML) 25 Page - Holtek Semiconductor Inc |
|
25 / 84 page ![]() Rev. 1.00 �4 De�e��e� 1�� �011 Rev. 1.00 �5 De�e��e� 1�� �011 HT83B60 Voice Mask MCU HT83B60 Voice Mask MCU Input/Output Ports and Control Registers WithintheareaofSpecialFunctionRegisters,theI/Oregistersandtheirassociatedcontrolregisters playaprominentrole.AllI/OportshaveadesignatedregistercorrespondinglylabeledasPA,PB andPC.TheselabeledI/OregistersaremappedtospecificaddresseswithintheDataMemoryas shownintheDataMemorytable,whichareusedtotransfertheappropriateoutputorinputdataon thatport.WitheachI/OportthereisanassociatedcontrolregisterlabeledPAC,PBCandPCC,also mappedtospecificaddresseswiththeDataMemory.Thecontrolregisterspecifieswhichpinsof thatportaresetasinputsandwhicharesetasoutputs.Tosetupapinasaninput,thecorresponding bitofthecontrolregistermustbesethigh,foranoutputitmustbesetlow.Duringprogram initialization,itisimportanttofirstsetupthecontrolregisterstospecifywhichpinsareoutputsand whichareinputsbeforereadingdatafromorwritingdatatotheI/Oports.Oneflexiblefeatureof theseregistersistheabilitytodirectlyprogramsinglebitsusingthe"SET[m].i"and"CLR[m]. i"instructions.TheabilitytochangeI/Opinsfromoutputtoinputandviceversabymanipulating specificbitsoftheI/Ocontrolregistersduringnormalprogramoperationisausefulfeatureofthese devices. Port C Pull-high Control Register - PCPHC PortCpull-highcontrolregister,PCPHC,isusedtosetthePortCpullhighfunction. 2+ 2 0+ 4A CE IJ AH b7 b0 C ont ro l t he Po r t C P ul l- Hi gh 1: enabk e 0: d is abl e - def aul t No t i m p le me nt ed, r ead as " 0" PC P HC0 PC PH C1 PC P HC2 Voice Control and Audio output Registers - DAL, DAH, VOL Thedevicesincludeasingle12-bitcurrenttypeDACfunctionfordrivinganexternal8Wspeaker throughanexternalNPNtransistororPowerAmplifier.Theprogrammermustwriterthevoicedata totheseDAL/DAHregisters.TheprogrammercancontroltheDACvolumewith8-levelsviathe VOLregister. Pulse Width Modulator Registers - PWMC, PWML, PWMH Eachdevicecontainsasingle12-bitPWMfunctionfordrivinganexternal8Wspeaker.The programmermustwriterthevoicedatatoPWML/PWMHregister.Theprogrammercancontrolthe PWMvolumewith9-levelsviatheVOLregister. Serial Interface Module (SIM) Registers - SIMC0A/B, SIMC1A/B, SIMC2A/B, SIMARA/B, SIMDRA/B EachSIMcontainsSPIandI2CfunctionforcommunicatingwithothermicrocontrollerorSPIFlash Memory.AlldevicescontainanintegratedI2CandSPIbuswhichinterfacestotheexternalshared pinsSDA,SCLandSCSB,SCK,SDI,SDOwithPBonthemicrocontroller.TheI2Ccorrectsetup anddatatransferoperationofthis2-linebidirectionalbusutilizes4specialfunctionregisters.The SIMARA/BregistersetstheslaveaddressofthedevicewhiletheSIMC0A/Bisthecontrolregister thatenablesordisablesthedeviceaswellasselectwhetheritisinI2CorSPImode.TheSIMC1A/ BregisteristheI2CstatusregisterwhiletheSIMDRA/Bregisteristheinput/outputdataregister. TheSPIcorrectsetupanddatatransferoperationofthis3-linebidirectionalbusutilizes3special functionregisters.TheSIMC0A/Bisthecontrolregisterthatenablesordisablesthedeviceaswell asselectwhetheritisinI2CorSPImode.TheSIMC2A/BregisteristheSPIstatusregisterwhilethe SIMDRA/Bregisteristheinput/outputdataregister. |
|
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 |