| Electronic Components Datasheet Search |
|
HT56R656 Datasheet(PDF) 59 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56R656 Datasheet(HTML) 59 Page - Holtek Semiconductor Inc |
|
59 / 145 page ![]() Rev. 1.30 58 �a��� �� �013 Rev. 1.30 59 �a��� �� �013 HT56R62/HT56R65 HT56R642/HT56R644/HT56R654/HT56R656 TinyPowerTM A/D Type with LCD 8-Bit OTP MCU HT56R62/HT56R65 HT56R642/HT56R644/HT56R654/HT56R656 TinyPowerTM A/D Type with LCD 8-Bit OTP MCU Timer Registers − TMR0, TMR1, TMR1L/TMR1H, TMR2 ThetimerregistersarespecialfunctionregisterslocatedintheSpecialPurposeDataMemoryandis theplacewheretheactualtimervalueisstored.Forthe8-bitTimer/EventCounters,theseregisters areknownasTMR0,TMR1orTMR2.Forthe16-bitTimer/EventCounter,apairofregistersare requiredandareknownasTMR1L/TMR1H.Thevalueinthetimerregistersincreasesbyoneeach timeaninternalclockpulseisreceivedoranexternaltransitionoccursontheexternaltimerpin. ThetimerwillcountfromtheinitialvalueloadedbythepreloadregistertothefullcountofFFH forthe8-bittimerorFFFFHforthe16-bittimeratwhichpointthetimeroverflowsandaninternal interruptsignalisgenerated.Thetimervaluewillthenberesetwiththeinitialpreloadregistervalue andcontinuecounting. ToachieveamaximumfullrangecountofFFHforthe8-bittimerorFFFFHforthe16-bittimer, thepreloadregistersmustfirstbeclearedtoallzeros.Itshouldbenotedthatafterpower-on,the preloadregisterwillbeinanunknowncondition.NotethatiftheTimer/EventCounterisswitched offanddataiswrittentoitspreloadregisters,thisdatawillbeimmediatelywrittenintotheactual timerregisters.However,iftheTimer/EventCounterisenabledandcounting,anynewdatawritten intothepreloaddataregistersduringthisperiodwillremaininthepreloadregistersandwillonlybe writtenintothetimerregistersthenexttimeanoverflowoccurs. Forthe16-bitTimer/EventCounterwhichhasbothlowbyteandhighbytetimerregisters,accessing theseregistersiscarriedoutinaspecificway.Itmustbenotedwhenusinginstructionstopreload dataintothelowbytetimerregister,thedatawillonlybeplacedinalowbytebufferandnotdirectly intothelowbytetimerregister.Theactualtransferofthedataintothelowbytetimerregisterisonly carriedoutwhenawritetoitsassociatedhighbytetimerregister,namelyTMR1H,isexecuted.On theotherhand,usinginstructionstopreloaddataintothehighbytetimerregisterwillresultinthe databeingdirectlywrittentothehighbytetimerregister.Atthesametimethedatainthelowbyte bufferwillbetransferredintoitsassociatedlowbytetimerregister.Forthisreason,thelowbyte timerregistershouldbewrittenfirstwhenpreloadingdataintothe16-bittimerregisters.Itmustalso benotedthattoreadthecontentsofthelowbytetimerregister,areadtothehighbytetimerregister mustbeexecutedfirsttolatchthecontentsofthelowbytetimerregisterintoitsassociatedlowbyte buffer.Afterthishasbeendone,thelowbytetimerregistercanbereadinthenormalway.Notethat readingthelowbytetimerregisterwillresultinreadingthepreviouslylatchedcontentsofthelow bytebufferandnottheactualcontentsofthelowbytetimerregister. |
|
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 |