| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 192 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 192 Page - Holtek Semiconductor Inc |
|
192 / 235 page ![]() Rev. 1.30 19� �ove��e� 1�� �01� Rev. 1.30 193 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM Programming Considerations Bydisablingtherelevantinterruptenablebits,arequestedinterruptcanbepreventedfrombeing serviced,however,onceaninterruptrequestflagisset,itwillremaininthisconditioninthe interruptregisteruntilthecorrespondinginterruptisservicedoruntiltherequestflagisclearedby theapplicationprogram. WhereacertaininterruptiscontainedwithinaMulti-functioninterrupt,thenwhentheinterrupt serviceroutineisexecuted,asonlytheMulti-functioninterruptrequestflags,MFnF,willbe automaticallycleared,theindividualrequestflagforthefunctionneedstobeclearedbythe applicationprogram. Itisrecommendedthatprogramsdonotusethe“CALL”instructionwithintheinterruptservice subroutine.Interruptsoftenoccurinanunpredictablemannerorneedtobeservicedimmediately. Ifonlyonestackisleftandtheinterruptisnotwellcontrolled,theoriginalcontrolsequencewillbe damagedonceaCALLsubroutineisexecutedintheinterruptsubroutine. EveryinterrupthasthecapabilityofwakingupthemicrocontrollerwhenitisinSLEEPorIDLE Mode,thewakeupbeinggeneratedwhentheinterruptrequestflagchangesfromlowtohigh.Ifitis requiredtopreventacertaininterruptfromwakingupthemicrocontrollerthenitsrespectiverequest flagshouldbefirstsethighbeforeenterSLEEPorIDLEMode. AsonlytheProgramCounterispushedontothestack,thenwhentheinterruptisserviced,ifthe contentsoftheaccumulator,statusregisterorotherregistersarealteredbytheinterruptservice program,theircontentsshouldbesavedtothememoryatthebeginningoftheinterruptservice routine. Toreturnfromaninterruptsubroutine,eitheraRETorRETIinstructionmaybeexecuted.TheRETI instructioninadditiontoexecutingareturntothemainprogramalsoautomaticallysetstheEMI bithightoallowfurtherinterrupts.TheRETinstructionhoweveronlyexecutesareturntothemain programleavingtheEMIbitinitspresentzerostateandthereforedisablingtheexecutionoffurther interrupts. Low Voltage Detector – LVD EachdevicehasaLowVoltageDetectorfunction,alsoknownasLVD.Thisenablesthedeviceto monitorthepowersupplyvoltage,VDD,andprovidesawarningsignalshoulditfallbelowacertain level.Thisfunctionmaybeespeciallyusefulinbatteryapplicationswherethesupplyvoltagewill graduallyreduceasthebatteryages,asitallowsanearlywarningbatterylowsignaltobegenerated. TheLowVoltageDetectoralsohasthecapabilityofgeneratinganinterruptsignal. LVD Register TheLowVoltageDetectorfunctioniscontrolledusingasingleregisterwiththenameLVDC.Three bitsinthisregister,VLVD2~VLVD0,areusedtoselectoneofeightfixedvoltagesbelowwhich alowvoltageconditionwillbedetermined.AlowvoltageconditionisindicatedwhentheLVDO bitisset.IftheLVDObitislow,thisindicatesthattheVDDvoltageisabovethepresetlowvoltage value.TheLVDENbitisusedtocontroltheoverallon/offfunctionofthelowvoltagedetector. Settingthebithighwillenablethelowvoltagedetector.Clearingthebittozerowillswitchoffthe internallowvoltagedetectorcircuits.Asthelowvoltagedetectorwillconsumeacertainamountof power,itmaybedesirabletoswitchoffthecircuitwhennotinuse,animportantconsiderationin powersensitivebatterypoweredapplications. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ 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 |