|
Firstly - signals to come sequence in order interruptions instead is increased
|
bet | 6/10 | Sana | 04.07.2024 | Hajmi | 319,4 Kb. | | #266583 |
Bog'liq RGqpeVcTGrACPEqq2WlPDTbgx7NbOwBBfRKOuADM(1)Firstly - signals to come sequence in order interruptions instead is increased . But this long time during without stopping running devices wrong performance take arrival possible .
Secondly - each _ peripheral to the device known a ustivor mode number give and priority interruptions from the system use this _ esa priority high which was interruptions priority lower from those before completion see possible .
Two of priority _ _ type available - relative and absolute . _ _
Relatively priority very much high which was delay is low priority running interrupt stop does not , absolutely esa this instead increase possible .
Bitta uzilishni qayta ishlayotgan vaqtda bitta boshqa yoki bir nechta boshqa qurilmalardan uzilish signalini olish kabi, yana bir holat bo’lishi mumkin.
Bunday muammoni yechishning ikikita usuli mavjud:
Birinchidan – signallarning kelish ketma-ketligi tartibida uzilishlar amalga oshiriladi. Lekin bu uzoq vaqt dovimida to’xtamay ishlaydigan qurilmalarning noto’g’ri ishlashiga olib kelishi mumkin.
Ikkinchidan – har bir periferik qurilmaga ma’lum bir ustivor tartib nomerni berish va ustivorlik uzilishlar tizimidan foydalanish, bu esa ustivorligi yuqori bo’lgan uzilishlar ustivorligi pastroq bo’lganlaridan oldin bajarilishini ko’rish mumkin.
Ustivorlikning (prioritetning) ikki turi mavjud – nisbiy va absolyut (mutloq).
Nisbiyda ustivorligi juda yuqori bo’lgan uzilish past ustivorlikda ishlaydigan uzilishni to’xtata olmaydi, absolyutda esa buni amalga oshirish mumkin.
Interruptions masking _ Interruptions priority _
Exposure is different kind of interruptions selectively answer giving tools has to be need _
For example , if the hardware does not work stay fact identified control scheme from one delay signal kelsa , in that case other delay signals answer is not required to give , for example , a discharge netting full departure of the apparatus fault corrected until .
This goals for delay from the mask used - binary code M = m 1 ... mk , where each delay cause m i mask biti mos is placed .
If, for example , a mask bit mi = 0 if so _ _ i-reason on delay , that is masked _
If mi = 1 if so _ _ interrupt permission is given , ie unmasked .
That's right thus delaying _ operation only unmasked delay signal with begins .
|
| |