| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 90 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 90 Page - Holtek Semiconductor Inc |
|
90 / 177 page ![]() Rev. 1.00 90 ���� ��� �01� Rev. 1.00 91 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Standard Type TM Operation Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutput Mode,PWMMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheTnM1andTnM0bitsintheTMnC1register. Compare Match Output Mode Toselectthismode,bitsTnM1andTnM0intheTMnC1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP. WhentheTnCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallows thecountertooverflow.HerebothTnAFandTnPFinterruptrequestflagsforComparatorAand ComparatorPrespectively,willbothbegenerated. IftheTnCCLRbitintheTMnC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheTnAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen TnCCLRishighnoTnPFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput Mode,theCCRAcannotbesetto0. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchange state.TheTMoutputpinconditionhoweveronlychangesstatewhenaTnAFinterruptrequestflag isgeneratedafteracomparematchoccursfromComparatorA.TheTnPFinterruptrequestflag, generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheTMoutput pin.ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthe TnIO1andTnIO0bitsintheTMnC1register.TheTMoutputpincanbeselectedusingtheTnIO1 andTnIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafterthe TnONbitchangesfromlowtohigh,issetupusingtheTnOCbit.NotethatiftheTnIO1andTnIO0 bitsarezerothennopinchangewilltakeplace. |
|
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 |