| Electronic Components Datasheet Search |
|
4501 Datasheet(PDF) 197 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
4501 Datasheet(HTML) 197 Page - Renesas Technology Corp |
|
197 / 212 page ![]() 3.3 List of precautions 3-28 Rev.2.01 Feb 07, 2005 4501 Group APPENDIX REJ09B0192-0201 3.3.4 Notes on interrupt (1) Setting of INT interrupt valid waveform Set a value to the bit 2 of register I1, and execute the SNZ0 instruction to clear the EXF0 flag to “0” after executing at least one instruction. Depending on the input state of P13/INT pin, the external interrupt request flag (EXF0) may be set to “1” when the interrupt valid waveform is changed. (2) Setting of INT pin input control Set a value to the bit 3 of register I1, and execute the SNZ0 instruction to clear the EXF0 flag to “0” after executing at least one instruction. Depending on the input state of P13/INT pin, the external interrupt request flag (EXF0) may be set to “1” when the interrupt valid waveform is changed. (3) Multiple interrupts Multiple interrupts cannot be used in the 4501 Group. (4) Notes on interrupt processing When the interrupt occurs, at the same time, the interrupt enable flag INTE is cleared to “0” (interrupt disable state). In order to enable the interrupt at the same time when system returns from the interrupt, write EI and RTI instructions continuously. (5) P13/INT pin Note [1] on bit 3 of register I1 When the input of the INT pin is controlled with the bit 3 of register I1 in software, be careful about the following notes. • Depending on the input state of the P13/INT pin, the external 0 interrupt request flag (EXF0) may be set when the bit 3 of register I1 is changed. In order to avoid the occurrence of an unexpected interrupt, clear the bit 0 of register V1 to “0” (refer to Figure 3.3.1 ➀) and then, change the bit 3 of register I1. In addition, execute the SNZ0 instruction to clear the EXF0 flag to “0” after executing at least one instruction (refer to Figure 3.3.1 ➁). Also, set the NOP instruction for the case when a skip is performed with the SNZ0 instruction (refer to Figure 3.3.1 ➂). LA 4 ; (✕✕✕02) TV1A ; The SNZ0 instruction is valid ..... ➀ LA 8 ; (1✕✕✕2) TI1A ; Control of INT pin input is changed NOP ; .......................................................... ➁ SNZ0 ; The SNZ0 instruction is executed (EXF0 flag cleared) NOP ; .......................................................... ➂ ✕ : these bits are not used here. Fig. 3.3.1 External 0 interrupt program example-1 |
|
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 |