| Electronic Components Datasheet Search |
|
HT45F5N Datasheet(PDF) 77 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5N Datasheet(HTML) 77 Page - Holtek Semiconductor Inc |
|
77 / 202 page ![]() Rev. 1.00 7� �ove��e� 1�� �01� Rev. 1.00 77 �ove��e� 1�� �01� HT45F5N/HT45FH5N Power Bank ASSP Flash MCU HT45F5N/HT45FH5N Power Bank ASSP Flash MCU STMC0 Register Bit 7 6 5 4 3 2 1 0 �a�e STPAU STCK� STCK1 STCK0 STO� — — — R/W R/W R/W R/W R/W R/W — — — POR 0 0 0 0 0 — — — Bit7 STPAU:STMCounterPauseControl 0:Run 1:Pause Thecountercanbepausedbysettingthisbithigh.Clearingthebittozerorestores normalcounteroperation.WheninaPauseconditiontheSTMwillremainpowered upandcontinuetoconsumepower.Thecounterwillretainitsresidualvaluewhen thisbitchangesfromlowtohighandresumecountingfromthisvaluewhenthebit changestoalowvalueagain. Bit6~4 STCK2~STCK0:SelectSTMCounterclock 000:fSYS/4 001:fSYS 010:fH/16 011:fH/64 100:fTBC 101:fTBC 110:STCKrisingedgeclock 111:STCKfallingedgeclock ThesethreebitsareusedtoselecttheclocksourcefortheSTM.Theexternalpinclock sourcecanbechosentobeactiveontherisingorfallingedge.TheclocksourcefSYSis thesystemclock,whilefHandfTBCareotherinternalclocks,thedetailsofwhichcan befoundintheoscillatorsection. Bit3 STON:STMCounterOn/OffControl 0:Off 1:On Thisbitcontrolstheoverallon/offfunctionoftheSTM.Settingthebithighenables thecountertorun,clearingthebitdisablestheSTM.Clearingthisbittozerowill stopthecounterfromcountingandturnofftheSTMwhichwillreduceitspower consumption.Whenthebitchangesstatefromlowtohightheinternalcountervalue willberesettozero,howeverwhenthebitchangesfromhightolow,theinternal counterwillretainitsresidualvalueuntilthebitreturnshighagain.IftheSTMisin theCompareMatchOutputModeorthePWMoutputModeorSinglePulseOutput ModethentheSTMoutputpinwillberesettoitsinitialcondition,asspecifiedbythe STOCbit,whentheSTONbitchangesfromlowtohigh. Bit2~0 Unimplemented,readas"0" STMC1 Register Bit 7 6 5 4 3 2 1 0 �a�e STM1 STM0 STIO1 STIO0 STOC STPOL STDPX STCCLR 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~6 STM1~ STM0:SelectSTMOperatingMode 00:CompareMatchOutputMode 01:CaptureInputMode 10:PWMoutputModeorSinglePulseOutputMode 11:Timer/CounterMode ThesebitssetuptherequiredoperatingmodefortheSTM.Toensurereliableoperation theSTMshouldbeswitchedoffbeforeanychangesaremadetotheSTM1andSTM0 bits.IntheTimer/CounterMode,theSTMoutputpinstateisundefined. |
|
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 |