| Electronic Components Datasheet Search |
|
HD6433713 Datasheet(PDF) 69 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
HD6433713 Datasheet(HTML) 69 Page - Renesas Technology Corp |
|
69 / 324 page ![]() 3.2.3 Interrupt Control Registers Table 3-3 lists the registers that are used to control interrupts. Table 3-3 Interrupt Control Registers Register Name Abbreviation R/W Initial Value Address Port mode register 1 PMR1 R/W H'0C H'FFEB IRQ edge select register IEGR R/W H'EC H'FFF2 Interrupt enable register 1 IENR1 R/W H'C0 H'FFF3 Interrupt enable register 2 IENR2 R/W H'00 H'FFF4 Interrupt enable register 3 IENR3 R/W H'3C H'FFF5 Interrupt request register 1 IRR1 R/W* H'C0 H'FFF6 Interrupt request register 2 IRR2 R/W* H'00 H'FFF7 Interrupt request register 3 IRR3 R/W* H'3C H'FFF8 Note: * Write is enabled only for writing of 0 to clear flag. 1. Port mode register 1 (PMR1) PMR1 is an 8-bit read/write register that designates whether pins in port 1 are used for general- purpose I/O or for external interrupt input. It is also used to turn the noise canceller function of pin IRQ0 on or off. Note: Before switching a pin function by modifying bit IRQ5, IRQ4, IRQ1, or IRQ0 in PMR1, first clear the interrupt enable flag to disable the interrupt. After the pin function has been switched, issue any instruction, then clear the interrupt request flag to 0. Program example: MOV. B R0L, @IENR1 ...................... Disable interrupt MOV. B R0L, @PMR1 ...................... Change pin function NOP ...................... Issue any instruction MOV. B R0L, @IRR1 ...................... Clear interrupt request flag MOV. B R1L, @IENR1 ...................... Enable interrupt Bit Initial value Read/Write 7 0 R/W 6 EVENT 0 R/W 5 IRQC5 0 R/W 4 IRQC4 0 R/W 3 — 1 — 0 IRQC0 0 R/W 2 — 1 — 1 IRQC1 0 R/W NOISE CANCEL 58 |
|
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 |