| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 134 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 134 Page - Renesas Technology Corp |
|
134 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 113 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 12. Interrupt 12.6 INT Interrupt INTi interrupt (i = 0 to 7) is triggered by the edges of external inputs. The edge polarity is selected using the IFSRi bit in the IFSR register, or the IFSR30 or IFSR31 bit in the IFSR3A register. INT4 and INT5 share the interrupt vector and interrupt control register with SI/O3 and SI/O4, respectively. To use the INT4 interrupt, set the IFSR6 bit in the IFSR register to 1 (INT4). To use the INT5 interrupt, set the IFSR7 bit in the IFSR register to 1 ( INT5). After modifying the IFSR6 or IFSR7 bit, clear the corresponding IR bit to 0 (interrupt not requested) before enabling the interrupt. To use the INT6 interrupt, set the PCR5 bit in the PCR register to 0 (INT6 input enabled). To use the INT7 interrupt, set the PCR6 bit in the PCR register to 0 ( INT7 input enabled). Figure 12.11 shows the IFSR Register, and Figure 12.12 shows Registers IFSR2A, IFSR3A, and PCR. Figure 12.11 IFSR Register b7 b6 b5 b4 b1 b2 b3 Interrupt Source Select Register Symbol IFSR Address 0207h Bit Symbol Bit Name RW After Reset 00h b0 Function IFSR0 RW 0 : One edge 1 : Both edges (1) INT0 interrupt polarity switch bit IFSR1 INT1 interrupt polarity switch bit 0 : One edge 1 : Both edges (1) IFSR2 INT2 interrupt polarity switch bit 0 : One edge 1 : Both edges (1) IFSR3 INT3 interrupt polarity switch bit 0 : One edge 1 : Both edges (1) IFSR4 INT4 interrupt polarity switch bit 0 : One edge 1 : Both edges (1) RW RW RW RW NOTES : 1. When setting this bit to 1 (both edges), make sure the POL bit in registers INT0IC to INT5IC are set to 0 (falling edge). 2. During memory expansion and microprocessor modes, when the data bus is 16 bits wide (BYTE pin is “L”), set this bit to 0 (SI/O3, SI/O4). 3. When setting this bit to 0 (SI/O3, SI/O4), make sure the POL bit in registers S3IC and S4IC are set to 0 (falling edge). IFSR5 INT5 interrupt polarity switch bit 0 : One edge 1 : Both edges (1) RW IFSR6 Interrupt request source select bit (2) 0 : SI/O3 (3) 1 : INT4 RW IFSR7 Interrupt request source select bit (2) 0 : SI/O4 (3) 1 : INT5 RW |
|
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 |