| Electronic Components Datasheet Search |
|
HT66F24D Datasheet(PDF) 113 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F24D Datasheet(HTML) 113 Page - Holtek Semiconductor Inc |
|
113 / 177 page ![]() A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Rev. 1.00 11� ���� ��� �01� Rev. 1.00 113 ���� ��� �01� Timer/Counter Mode Toselectthismode,bitsTnAM1,TnAM0andTnBM1,TnBM0intheTMnC1andTMnC2register shouldallbesethigh.TheTimer/CounterModeoperatesinanidenticalwaytotheCompare MatchOutputModegeneratingthesameinterruptflags.TheexceptionisthatintheTimer/Counter ModetheTMoutputpinisnotused.ThereforetheabovedescriptionandTimingDiagramsforthe CompareMatchOutputModecanbeusedtounderstanditsfunction.AstheTMoutputpinisnot usedinthismode,thepincanbeusedasanormalI/Opinorotherpin-sharedfunction. PWM Output Mode Toselectthismode,therequiredbitpairs,TnAM1,TnAM0andTnBM1,TnBM0shouldbeset to10respectivelyandalsotheTnAIO1,TnAIO0andTnBIO1,TnBIO0bitsshouldbesetto10 respectively.ThePWMfunctionwithintheTMisusefulforapplicationswhichrequirefunctions suchasmotorcontrol,heatingcontrol,illuminationcontroletc.Byprovidingasignaloffixed frequencybutofvaryingdutycycleontheTMoutputpin,asquarewaveACwaveformcanbe generatedwithvaryingequivalentDCRMSvalues. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMmode,theTnCCLRbitisusedtodetermineinwhich waythePWMperiodiscontrolled.WiththeTnCCLRbitsethigh,thePWMperiodcanbefinely controlledusingtheCCRAregisters.InthiscasetheCCRBregistersareusedtosetthePWMduty value(forTPnBoutputpins).TheCCRPbitsarenotusedandTPnAoutputpinsarenotused.The PWMoutputcanonlybegeneratedontheTPnBoutputpins.WiththeTnCCLRbitclearedtozero, thePWMperiodissetusingoneoftheeightvaluesofthethreeCCRPbits,inmultiplesof128. NowbothCCRAandCCRBregisterscanbeusedtosetupdifferentdutycyclevaluestoprovide dualPWMoutputsontheirrelativeTPnAandTPnBpins. TheTnPWM1andTnPWM0bitsdeterminethePWMalignmenttype,whichcanbeeitheredge orcentretype.Inedgealignment,theleadingedgeofthePWMsignalswillallbegenerated concurrentlywhenthecounterisresettozero.Withallpowercurrentsswitchingonatthesame time,thismaygiverisetoproblemsinhigherpowerapplications.Incentrealignmentthecentre ofthePWMactivesignalswilloccursequentially,thusreducingthelevelofsimultaneouspower switchingcurrents. Interruptflags,oneforeachoftheCCRA,CCRBandCCRP,willbegeneratedwhenacompare matchoccursfromeithertheComparatorA,ComparatorBorComparatorP.TheTnAOCand TnBOCbitsintheTMnC1andTMnC2registerareusedtoselecttherequiredpolarityofthePWM waveformwhilethetwoTnAIO1,TnAIO0andTnBIO1,TnBIO0bitspairsareusedtoenablethe PWMoutputortoforcetheTMoutputpintoafixedhighorlowlevel.TheTnAPOLandTnBPOL bitareusedtoreversethepolarityofthePWMoutputwaveform. |
|
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 |