поискавой системы для электроныых деталей |
|
HT45R4U датащи(PDF) 41 Page - Holtek Semiconductor Inc |
|
HT45R4U датащи(HTML) 41 Page - Holtek Semiconductor Inc |
41 / 105 page Rev. 1.10 40 �a��� 1�� �01� Rev. 1.10 41 �a��� 1�� �01� HT45R4U TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD Timer Registers − TMR0, TMR1, TMR2 ThetimerregistersarespecialfunctionregisterslocatedintheSpecialPurposeDataMemoryandisthe placewheretheactualtimervalueisstored.TheseregistersareknownasTMR0,TMR1orTMR2.The valueinthetimerregistersincreasesbyoneeachtimeaninternalclockpulseisreceivedoranexternal transitionoccursontheexternaltimerpin.Thetimerwillcountfromtheinitialvalueloadedbythe preloadregistertothefullcountofFFHforthe8-bittimeratwhichpointthetimeroverflowsandan internalinterruptsignalisgenerated.Thetimervaluewillthenberesetwiththeinitialpreloadregister valueandcontinuecounting. ToachieveamaximumfullrangecountofFFHforthe8-bittimer,thepreloadregistersmustfirst beclearedtoallzeros.Itshouldbenotedthatafterpower-on,thepreloadregisterwillbeinan unknowncondition.NotethatiftheTimer/EventCounterisswitchedoffanddataiswrittentoits preloadregisters,thisdatawillbeimmediatelywrittenintotheactualtimerregisters.However, iftheTimer/EventCounterisenabledandcounting,anynewdatawrittenintothepreloaddata registersduringthisperiodwillremaininthepreloadregistersandwillonlybewrittenintothe timerregistersthenexttimeanoverflowoccurs. Timer Control Registers − TMR0C, TMR1C, TMR2C TheflexiblefeaturesoftheHoltekmicrocontrollerTimer/EventCountersenablethemtooperateinthree differentmodes,theoptionsofwhicharedeterminedbythecontentsoftheirrespectivecontrolregister. ItistheTimerControlRegistertogetherwithitscorrespondingtimerregistersthatcontrolthe fulloperationoftheTimer/EventCounters.Beforethetimerscanbeused,itisessentialthatthe appropriateTimerControlRegisterisfullyprogrammedwiththerightdatatoensureitscorrect operation,aprocessthatisnormallycarriedoutduringprograminitialisation. Tochoosewhichofthethreemodesthetimeristooperatein,eitherinthetimermode,theevent countingmodeorthepulsewidthmeasurementmode,bits7and6ofthecorrespondingTimer ControlRegister,whichareknownasthebitpairTnM1/TnM0,mustbesettotherequired logiclevels.Thetimer-onbit,whichisbit4oftheTimerControlRegisterandknownasTnON, dependinguponwhichtimerisused,providesthebasicon/offcontroloftherespectivetimer. Settingthebithighallowsthecountertorun,clearingthebitstopsthecounter.Fortimersthathave prescalers,bits0~2oftheTimerControlRegisterdeterminethedivisionratiooftheinputclock prescaler.Theprescalerbitsettingshavenoeffectifanexternalclocksourceisused.Ifthetimeris intheeventcountorpulsewidthmeasurementmode,theactivetransitionedgeleveltypeisselected bythelogiclevelofbit3oftheTimerControlRegisterwhichisknownasTnEG. TMRnC Register Bit 7 6 5 4 3 2 1 0 Name Tn�1 Tn�0 — TnON TnEG TnPSC� TnPSC1 TnPSC0 R/W R/W R/W — R/W R/W R/W R/W R/W POR 0 0 — 0 1 0 0 0 Bit7~6 TnM[1:0]:Operatingmodeselect 00:nomodeavailable 01:EventCountermode 10:Timermode 11:PulseWidthMeasurementmode Bit5 Unimplemented,readas"0" Bit4 TnON:Timer/EventCountercountingenable 0:enable 1:disable |
Аналогичный номер детали - HT45R4U |
|
Аналогичное описание - HT45R4U |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | обмен ссыками | поиск по производителю 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 |