| Electronic Components Datasheet Search |
|
HT45F4N Datasheet(PDF) 95 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4N Datasheet(HTML) 95 Page - Holtek Semiconductor Inc |
|
95 / 170 page ![]() Rev. 1.30 9� De�e��e� 1�� �01� Rev. 1.30 95 De�e��e� 1�� �01� HT45F4N/HT45FH4N Power Bank Flash MCU HT45F4N/HT45FH4N Power Bank Flash MCU TMnRPH Register Bit 7 6 5 4 3 2 1 0 Na�e — — — — — — D9 D8 R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas“0” Bit1~0 TMnRPH:TMnCCRPHighByteRegisterbit1~bit0 TMn10-bitCCRPbit9~bit8 Periodic Type TM Operating Modes ThePeriodicTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheTnM1andTnM0bitsintheTMnC1register. Compare Match Output Mode Toselectthismode,bitsTnM1andTnM0intheTMnC1register,shouldbeallclearedto00 respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhentheTnCCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchoccursfromComparatorP,theotheriswhentheCCRPbits areallzerowhichallowsthecountertooverflow.HereboththeTnAFandTnPFinterruptrequest flagsforComparatorAandComparatorPrespectively,willbothbegenerated. IftheTnCCLRbitintheTMnC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheTnAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen TnCCLRishighnoTnPFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput Mode,theCCRAcannotbesetto“0”. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchange state.TheTMoutputpinconditionhoweveronlychangesstatewhenaTnAFinterruptrequestflag isgeneratedafteracomparematchoccursfromComparatorA.TheTnPFinterruptrequestflag, generatedfromacomparematchfromComparatorP,willhavenoeffectontheTMoutputpin.The wayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionoftheTnIO1and TnIO0bitsintheTMnC1register.TheTMoutputpincanbeselectedusingtheTnIO1andTnIO0 bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematchoccursfrom ComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupaftertheTnONbitchanges fromlowtohigh,issetupusingtheTnOCbit.NotethatiftheTnIO1,TnIO0bitsarezerothenno pinchangewilltakeplace. |
|
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 |