| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 72 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 72 Page - Holtek Semiconductor Inc |
|
72 / 172 page ![]() Rev. 1.20 72 �a��� 2�� 201� Rev. 1.20 73 �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 Compact Type TM Operating Modes TheCompactTypeTMcanoperateinoneofthreeoperatingmodes,CompareMatchOutputMode, PWMModeorTimer/CounterMode.TheoperatingmodeisselectedusingtheCTM1andCTM0 bitsintheCTMC1register. Compare Match Output Mode Toselectthismode,bitsCTM1andCTM0intheCTMC1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparator P.WhentheCTCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneis whenacomparematchoccursfromComparatorP,theotheriswhentheCCRPbitsareallzero whichallowsthecountertooverflow.HerebothCTMAFandCTMPFinterruptrequestflagsforthe ComparatorAandComparatorPrespectively,willbothbegenerated. IftheCTCCLRbitintheCTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheCTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen CTCCLRishighnoCTMPFinterruptrequestflagwillbegenerated.IftheCCRAbitsareallzero, thecounterwilloverflowwhenitsreachesitsmaximum10-bit,3FFHex,value,howeverherethe CTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpinwillchangestate. TheTMoutputpinconditionhoweveronlychangesstatewhenaCTMAFinterruptrequestflagis generatedafteracomparematchoccursfromComparatorA.TheCTMPFinterruptrequestflag, generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheTMoutput pin.ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthe CTIO1andCTIO0bitsintheCTMC1register.TheTMoutputpincanbeselectedusingtheCTIO1 andCTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafterthe TnONbitchangesfromlowtohigh,issetupusingtheCTOCbit.NotethatiftheCTIO1andCTIO0 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 |