| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 83 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 83 Page - Holtek Semiconductor Inc |
|
83 / 172 page ![]() Rev. 1.20 82 �a��� 2�� 201� Rev. 1.20 83 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver Periodic Type TM Operating Modes ThePeriodicTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingthePTM1andPTM0bitsinthePTMC1register. Compare Output Mode Toselectthismode,bitsPTM1andPTM0inthePTMC1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP. WhenthePTCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallowsthe countertooverflow.HerebothPTMAFandPTMPFinterruptrequestflagsforComparatorAand ComparatorPrespectively,willbothbegenerated. IfthePTCCLRbitinthePTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlythePTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen PTCCLRishighnoPTMPFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput Mode,theCCRAcannotbesetto"0". Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchangestate. TheTMoutputpinconditionhoweveronlychangesstatewhenaPTMAFinterruptrequestflagis generatedafteracomparematchoccursfromComparatorA.ThePTMPFinterruptrequestflag, generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheTMoutput pin.ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthe PTIO1andPTIO0bitsinthePTMC1register.TheTMoutputpincanbeselectedusingthePTIO1 andPTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafterthe PTONbitchangesfromlowtohigh,issetupusingthePTOCbit.NotethatifthePTIO1andPTIO0 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 |