| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 159 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 159 Page - Holtek Semiconductor Inc |
|
159 / 298 page ![]() Rev. 1.90 158 �e���a�� 18� �01� Rev. 1.90 159 �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM 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).TheCCRPbitsarenotusedandTPnAoutputpinisnotused.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 |