| Electronic Components Datasheet Search |
|
UPD17072 Datasheet(PDF) 73 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17072 Datasheet(HTML) 73 Page - NEC |
|
73 / 226 page ![]() µPD17072,17073 73 11.6 Accepting Interrupt 11.6.1 Interrupt accepting operation and priority An interrupt is accepted in the following sequence: (1) Each peripheral hardware issues an interrupt request signal to an interrupt request block when a certain condition is satisfied (for example, when a falling signal has been input to the INT pin). (2) Each interrupt request block sets the corresponding interrupt request flag (e.g., IRQ flag for the INT pin) to “1” when it has received an interrupt request signal from peripheral hardware. (3) When the interrupt request flag is set, the interrupt request block whose interrupt enable flag (e.g., IP flag for IRQ flag) is set to “1” outputs “1”. (4) The signal output by the interrupt request block is ORed with the output of the interrupt enable flip-flop and an interrupt accept signal is output. This interrupt enable flip-flop can be set to “1” by the EI instruction and reset to “0” by the DI instruction. When “1” is output from an interrupt request block with the interrupt enable flip-flop set to “1”, the interrupt enable flip-flop outputs “1” and the interrupt is accepted. When the interrupt has been accepted, the output of the interrupt enable flip-flop is input to the block that has issued the interrupt request, through an AND circuit, as shown in Figure 11-1. The signal input to the block that has issued the interrupt request clears the interrupt request flag of that block to “0”, and a vector address corresponding to the interrupt is output. If any of the blocks that have issued an interrupt request outputs “1” at this time, the interrupt accept signal is not transmitted to the next stage. When two or more interrupt request have generated at the same time, therefore, the interrupts are accepted according to the following priority: INT pin > basic timer 1 > serial interface The interrupt corresponding to an interrupt source is not accepted unless the interrupt enable flag is set to “1”. Therefore, by clearing the interrupt enable flag to “0”, an interrupt with a high hardware priority can be disabled. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |