| Electronic Components Datasheet Search |
|
HT45F5N Datasheet(PDF) 94 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5N Datasheet(HTML) 94 Page - Holtek Semiconductor Inc |
|
94 / 202 page ![]() Rev. 1.00 94 �ove��e� 1�� �01� Rev. 1.00 95 �ove��e� 1�� �01� HT45F5N/HT45FH5N Power Bank ASSP Flash MCU HT45F5N/HT45FH5N Power Bank ASSP Flash MCU PTMRPL Register Bit 7 6 5 4 3 2 1 0 �a�e D7 D� D5 D4 D3 D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7~0 D7~D0:PTMCCRPLowByteRegisterbit7~bit0 PTM10-bitCCRPbit7~bit0 PTMRPH Register Bit 7 6 5 4 3 2 1 0 �a�e — — — — — — D9 D� R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas"0" Bit1~0 D9~D8:PTMCCRPHighByteRegisterbit1~bit0 PTM10-bitCCRPbit9~bit8 Periodic Type TM Operating Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,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,theCCRAcannotbeclearedtozero. IftheCCRAbitsareallzero,thecounterwilloverflowwhenitsreachesitsmaximum10-bit,3FF Hex,value,howeverherethePTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,thePTMoutputpin,willchange state.ThePTMoutputpinconditionhoweveronlychangesstatewhenaPTMAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.ThePTMPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectonthePTM outputpin.ThewayinwhichthePTMoutputpinchangesstatearedeterminedbytheconditionof thePTIO1andPTIO0bitsinthePTMC1register.ThePTMoutputpincanbeselectedusingthe PTIO1andPTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionofthePTMoutputpin,whichissetupafter thePTONbitchangesfromlowtohigh,issetupusingthePTOCbit.NotethatifthePTIO1and PTIO0bitsarezerothennopinchangewilltakeplace. |
|
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 |