전자부품 데이터시트 검색엔진 |
|
HT45R4U 데이터시트(PDF) 46 Page - Holtek Semiconductor Inc |
|
HT45R4U 데이터시트(HTML) 46 Page - Holtek Semiconductor Inc |
46 / 105 page Rev. 1.10 46 �a��� 1�� �01� Rev. 1.10 47 �a��� 1�� �01� HT45R4U TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD Timer/Event Counter Pins Internal Filter TheexternalTimer/EventCounterpinsareconnectedtoaninternalfiltertoreducethepossibility ofunwantedeventcountingeventsorinaccuratepulsewidthmeasurementsduetoadversenoiseor spikesontheexternalTimer/EventCounterinputsignal.Asthisinternalfiltercircuitwillconsume alimitedamountofpower,aconfigurationoptionisprovidedtoswitchoffthefilterfunction,an optionwhichmaybebeneficialinpowersensitiveapplications,butinwhichtheintegrityofthe inputsignalishigh.Caremustbetakenwhenusingthefilteron/offconfigurationoptionasitwill beappliednotonlytobothexternalTimer/EventCounterpinsbutalsototheexternalinterruptinput pins.IndividualTimer/EventCounterorexternalinterruptpinscannotbeselectedtohaveafilteron/ offfunction. Programming Considerations Whenconfiguredtoruninthetimermode,theinternalsystemclockisusedasthetimerclocksource andisthereforesynchronisedwiththeoveralloperationofthemicrocontroller.Inthismodewhenthe appropriatetimerregisterisfull,themicrocontrollerwillgenerateaninternalinterruptsignaldirecting theprogramflowtotherespectiveinternalinterruptvector.Forthepulsewidthmeasurementmode, theinternalsystemclockisalsousedasthetimerclocksourcebutthetimerwillonlyrunwhenthe correctlogicconditionappearsontheexternaltimerinputpin.Asthisisanexternaleventandnot synchronizedwiththeinternaltimerclock,themicrocontrollerwillonlyseethisexternaleventwhen thenexttimerclockpulsearrives.Asaresult,theremaybesmalldifferencesinmeasuredvalues requiringprogrammerstotakethisintoaccountduringprogramming.Thesameappliesifthetimeris configuredtobeintheeventcountingmode,whichagainisanexternaleventandnotsynchronised withtheinternalsystemortimerclock. WhentheTimer/EventCounterisread,orifdataiswrittentothepreloadregister,theclockisinhibited toavoiderrors,howeverasthismayresultinacountingerror,thisshouldbetakenintoaccountbythe programmer.Caremustbetakentoensurethatthetimersareproperlyinitialisedbeforeusingthem forthefirsttime.Theassociatedtimerenablebitsintheinterruptcontrolregistermustbeproperlyset otherwisetheinternalinterruptassociatedwiththetimerwillremaininactive.Theedgeselect,timer modeandclocksourcecontrolbitsintimercontrolregistermustalsobecorrectlysettoensurethe timerisproperlyconfiguredfortherequiredapplication.Itisalsoimportanttoensurethataninitial valueisfirstloadedintothetimerregistersbeforethetimerisswitchedon;thisisbecauseafterpower- ontheinitialvaluesofthetimerregistersareunknown.Afterthetimerhasbeeninitialisedthetimer canbeturnedonandoffbycontrollingtheenablebitinthetimercontrolregister.Notethatsetting thetimerenablebithightoturnthetimeron,shouldonlybeexecutedafterthetimermodebitshave beenproperlysetup.Settingthetimerenablebithightogetherwithamodebitmodification,may leadtoimpropertimeroperationifexecutedasasingletimercontrolregisterbytewriteinstruction. WhentheTimer/Eventcounteroverflows,itscorrespondinginterruptrequestflagintheinterrupt controlregisterwillbeset.Ifthetimerinterruptisenabledthiswillinturngenerateaninterrupt signal.Howeverirrespectiveofwhethertheinterruptsareenabledornot,aTimer/Eventcounter overflowwillalsogenerateawake-upsignalifthedeviceisinaPower-downcondition.This situationmayoccuriftheTimer/EventCounterisintheEventCountingModeandiftheexternal signalcontinuestochangestate.Insuchacase,theTimer/EventCounterwillcontinuetocount theseexternaleventsandifanoverflowoccursthedevicewillbewokenupfromitsPower-down condition.Topreventsuchawake-upfromoccurring,thetimerinterruptrequestflagshouldfirstbe sethighbeforeissuingtheHALTinstructiontoenterthePowerDownMode. |
유사한 부품 번호 - HT45R4U |
|
유사한 설명 - HT45R4U |
|
|
링크 URL |
개인정보취급방침 |
ALLDATASHEET.CO.KR |
ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크교환 | 제조사별 검색 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 |