| поискавой системы для электроныых деталей |
|
UPD17062 датащи(PDF) 113 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
UPD17062 датащи(HTML) 113 Page - Renesas Technology Corp |
|
113 / 298 page ![]() 111 µPD17062 11.3 INTERRUPT ACCEPTANCE 11.3.1 Interrupt Acceptance and Priority An interrupt is accepted as follows: (1) When the interrupt conditions are satisfied (e.g., a rising edge is input to the INTNC pin), each type of peripheral hardware outputs the interrupt request signal to the interrupt request blocks. (2) When an interrupt request block accepts an interrupt request signal from the peripheral hardware, it sets the corresponding IRQ ××× flag to 1 (e.g., sets IRQNC for the INTNC pin). (3) If an interrupt permission flag corresponding to an IRQ ××× (e.g., IPNC flag for the IRQNC flag) is set 1 when each interrupt request flag is set, each interrupt request block outputs a 1. (4) A signal output from each interrupt request block is input to the interrupt enable flip-flop via an OR circuit. This interrupt enable flip-flop is set to 1 by the EI instruction and reset by the DI instruction. If a 1 is output from each interrupt request block while the interrupt enable flip-flop is set, a 1 is output from the interrupt enable flip-flop and the interrupt is accepted. When the interrupt is accepted, the signal from the interrupt enable flip-flop is input to the interrupt request block via an AND circuit as shown in Fig. 11-1. The interrupt request flag is reset by the signal input to each interrupt request block, and the vector address for each interrupt is output. If a 1 is output from the interrupt request block at this time, the interrupt acceptance signal is not transferred to the next level. If two or more interrupt requests are issued together, they are accepted in the following sequence: (DMA) > INTNC pin > timer > VSYNC pin > serial interface This sequence is called the hardware priority. Fig. 11-2 shows the interrupt acceptance flowchart. The processing in # of Fig. 11-2 is always executed in parallel. If two or more interrupt requests are generated at the same time, the interrupt request flags are set at the same time. On the other hand, the processing in $ is executed according to the priority given by the interrupt permission flags. In other words, if an interrupt permission flag is not set, the interrupt from the interrupt source is not accepted. An interrupt with a high hardware priority can be inhibited by resetting the corresponding interrupt permission flag in the program. This type of interrupt is called a maskable interrupt. For a maskable interrupt, an interrupt with a high hardware priority can be inhibited by the program; therefore, it is also called the software priority. |
|
ссылки 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 |