| Electronic Components Datasheet Search |
|
HD404639RF Datasheet(PDF) 19 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD404639RF Datasheet(HTML) 19 Page - Renesas Technology Corp |
|
19 / 135 page ![]() HD404639R Series 17 An interrupt request occurs when the IF is set to 1 and the IM is set to 0. If the IE is 1 at that point, the interrupt is processed. A priority programmable logic array (PLA) generates the vector address assigned to that interrupt source. The interrupt processing sequence is shown in figure 10 and an interrupt processing flowchart is shown in figure 11. After an interrupt is acknowledged, the previous instruction is completed in the first cycle. The IE is reset in the second cycle, the carry, status, and program counter values are pushed onto the stack during the second and third cycles, and the program jumps to the vector address to execute the instruction in the third cycle. Program the JMPL instruction at each vector address to branch the program to the start address of the interrupt program, and reset the IF by a software instruction within the interrupt program. Table 2 Vector Addresses and Interrupt Priorities Reset/Interrupt Priority Vector Address RESET, STOPC* — $0000 INT 0 1 $0002 INT 1 2 $0004 Timer A 3 $0006 Timer B, INT 2 4 $0008 Timer C, INT 3 5 $000A Timer D, INT 4 6 $000C Serial 1 and 2 7 $000E Note: * The STOPC interrupt request is valid only in stop mode Table 3 Interrupt Processing and Activation Conditions Interrupt Source Interrupt Control Bit INT 0 INT 1 Timer A Timer B or INT 2 Timer C or INT 3 Timer D or INT 4 Serial 1 or Serial 2 IE 111 1 1 1 1 IF0 . IM0 100 0 0 0 0 IF1 . IM1 * 1 0 0 000 IFTA . IMTA ** 1 0 000 IFTB . IMTB + IF2 . IM2 *** 1 000 IFTC . IMTC + IF3 . IM3 *** * 100 IFTD . IMTD + IF4 . IM4 *** * * 10 IFS1 . IMS1 + IFS2 . IMS2 *** * * * 1 Note: * Can be either 0 or 1. Their values have no effect on operation. |
|
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 |