| Electronic Components Datasheet Search |
|
HT66F319 Datasheet(PDF) 84 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F319 Datasheet(HTML) 84 Page - Holtek Semiconductor Inc |
|
84 / 185 page ![]() Rev. 1.20 84 De�e��e� 0�� 201� Rev. 1.20 8� De�e��e� 0�� 201� HT66F319 Enhanced A/D Flash MCU with EEPROM and UART HT66F319 Enhanced A/D Flash MCU with EEPROM and UART Standard Type TM Operating Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheTnM1andTnM0bitsintheTMnC1register. Compare 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,theCCRAcannotbesetto"0". 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 |