| Electronic Components Datasheet Search |
|
HT68F003 Datasheet(PDF) 80 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F003 Datasheet(HTML) 80 Page - Holtek Semiconductor Inc |
|
80 / 119 page ![]() Rev. 1.41 80 April 11, 2017 Rev. 1.41 81 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM PTM1RPH Register Bit 7 6 5 4 3 2 1 0 Name — — — — — — D9 D8 R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas"0" Bit1~0 PTM1RPH:PTMCCRPHighByteRegisterbit1~bit0 PTM10-bitCCRPbit9~bit8 Periodic Type TM Operating Modes ThePeriodicTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingthePT1M1andPT1M0bitsinthePTM1C1register. Compare Match Output Mode Toselectthismode,bitsPT1M1andPT1M0inthePTM1C1register,shouldbeallclearedto 00respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhenthePT1CCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchoccursfromComparatorP,theotheriswhentheCCRPbits areallzerowhichallowsthecountertooverflow.HereboththePTMA1FandPTMP1Finterrupt requestflagsforComparatorAandComparatorPrespectively,willbothbegenerated. IfthePT1CCLRbitinthePTM1C1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlythePTMA1Finterruptrequestflagwill begeneratedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Therefore whenPT1CCLRishighnoPTMP1Finterruptrequestflagwillbegenerated.IntheCompare MatchOutputMode,theCCRAcannotbesetto"0".IftheCCRAbitsareallzero,thecounterwill overflowwhenitsreachesitsmaximum10-bit,3FFHex,value,howeverherethePTMA1Finterrupt requestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchangestate. TheTMoutputpinconditionhoweveronlychangesstatewhenaPTMA1Finterruptrequestflagis generatedafteracomparematchoccursfromComparatorA.ThePTMP1Finterruptrequestflag, generatedfromacomparematchfromComparatorP,willhavenoeffectontheTMoutputpin. ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthePT1IO1 andPT1IO0bitsinthePTM1C1register.TheTMoutputpincanbeselectedusingthePT1IO1 andPT1IO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafter thePT1ONbitchangesfromlowtohigh,issetupusingthePT1OCbit.NotethatifthePT1IO1, PT1IO0bitsarezerothennopinchangewilltakeplace. |
|
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 |