| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 108 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 108 Page - Holtek Semiconductor Inc |
|
108 / 177 page ![]() Rev. 1.00 108 ���� ��� �01� Rev. 1.00 109 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Enhanced Type TM Operation Modes TheEnhancedTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheTnAM1andTnAM0bitsintheTMnC1,andtheTnBM1and TnBM0bitsintheTMnC2register. ETM Operating Mode CCRA Compare Match Output Mode CCRA Timer/ Counter Mode CCRB PWM Output Mode CCRB Single Pulse Output Mode CCRB Input Capture Mode CCRB Compare Match O�tp�t Mode √ — — — — CCRB Timer/Co�nter Mode — √ — — — CCRB PWM O�tp�t Mode — — √ — — CCRB Sing�e P��se O�tp�t Mode — — — √ — CCRB Inp�t Capt�re Mode — — — — √ “√”:permitted. “—”:notpermitted Compare Match Output Mode Toselectthismode,bitsTnAM1,TnAM0andTnBM1,TnBM0intheTMnC1/TMnC2registers shouldbeallclearedtozero.Inthismodeoncethecounterisenabledandrunningitcanbecleared bythreemethods.Theseareacounteroverflow,acomparematchfromComparatorAandacompare matchfromComparatorP.WhentheTnCCLRbitislow,therearetwowaysinwhichthecounter canbecleared.OneiswhenacomparematchoccursfromComparatorP,theotheriswhenthe CCRPbitsareallzerowhichallowsthecountertooverflow.HereboththeTnAFandTnPFinterrupt requestflagsforComparatorAandComparatorPrespectively,willbothbegenerated. IftheTnCCLRbitintheTMnC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheTnAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen TnCCLRishighnoTnPFinterruptrequestflagwillbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchange state.TheTMoutputpinconditionhoweveronlychangesstatewhenaTnAForTnBFinterrupt requestflagisgeneratedafteracomparematchoccursfromComparatorAorComparatorB.The TnPFinterruptrequestflag,generatedfromacomparematchfromComparatorP,willhaveno effectontheTMoutputpin.ThewayinwhichtheTMoutputpinchangesstateisdeterminedbythe conditionoftheTnAIO1andTnAIO0bitsintheTMnC1registerforETMCCRA,andtheTnBIO1 andTnBIO0bitsintheTMnC2registerforETMCCRB.TheTMoutputpincanbeselectedusing theTnAIO1,TnAIO0bits(fortheTPnA_0orTPnA_1pin)andTnBIO1,TnBIO0bits(forthe TPnB_0,TPnB_1orTPnB_2pins)togohigh,togolowortotogglefromitspresentcondition whenacomparematchoccursfromComparatorAoracomparematchoccursfromComparatorB. TheinitialconditionoftheTMoutputpin,whichissetupaftertheTnONbitchangesfromlowto high,issetupusingtheTnAOCorTnBOCbitforTPnA_0,TPnA_1orTPnB_0,TPnB_1,TPnB_2 outputpins.NotethatiftheTnAIO1,TnAIO0andTnBIO1,TnBIO0bitsarezerothennopin changewilltakeplace. |
|
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 |