| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 154 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 154 Page - Holtek Semiconductor Inc |
|
154 / 298 page ![]() Rev. 1.90 154 �e���a�� 18� �01� Rev. 1.90 155 �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 Compare 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.TheTMoutputpinconditionhoweveronlychangesstatewhenanTnAForTnBFinterrupt requestflagisgeneratedafteracomparematchoccursfromComparatorAorComparatorB.The TnPFinterruptrequestflag,generatedfromacomparematchfromComparatorP,willhaveno effectontheTMoutputpin.ThewayinwhichtheTMoutputpinchangesstateisdeterminedbythe conditionoftheTnAIO1andTnAIO0bitsintheTMnC1registerforETMCCRA,andtheTnBIO1 andTnBIO0bitsintheTMnC2registerforETMCCRB.TheTMoutputpincanbeselectedusing theTnAIO1,TnAIO0bits(fortheTPnApin)andTnBIO1,TnBIO0bits(fortheTPnB_0,TPnB_1 orTPnB_2pins)togohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorAoracomparematchoccursfromComparatorB.Theinitialconditionof theTMoutputpin,whichissetupaftertheTnONbitchangesfromlowtohigh,issetupusingthe TnAOCorTnBOCbitforTPnAorTPnB_0,TPnB_1,TPnB_2outputpins.NotethatiftheTnAIO1, TnAIO0andTnBIO1,TnBIO0bitsarezerothennopinchangewilltakeplace. |
|
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 |