| Electronic Components Datasheet Search |
|
32196 Datasheet(PDF) 137 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
32196 Datasheet(HTML) 137 Page - Renesas Technology Corp |
|
137 / 1044 page ![]() 5 INTERRUPT CONTROLLER (ICU) 5-5 32192/32195/32196 Group Hardware Manual Rev.1.10 REJ09B0123-0110 Apr.06.07 5.2 ICU Related Registers 5.2.1 Interrupt Vector Register Interrupt Vector Register (IVECT) <Address: H’0080 0000> b0 123456789 10 11 12 13 14 b15 IVECT ???????????????? <Upon exiting reset: Undefined> b Bit Name Function R W 0 −15 IVECT When an interrupt request is accepted, the 16-low-order R N 16 low-order bits of ICU vector table address bits of the ICU vector table address for the accepted interrupt request source are stored in this register. Note: • This register must always be accessed in halfwords (2 bytes). (This is a read-only register.) The Interrupt Vector Register (IVECT) is used when an interrupt request is accepted to store the 16-low-order bits of the ICU vector table address for the accepted interrupt request source. Before this function can work, the ICU vector table (addresses H’0000 0094 through H’0000 013B) must have set in it the start addresses of interrupt handlers for each internal peripheral I/O. When an interrupt request is accepted, the 16-low-order bits of the ICU vector table address for the accepted interrupt request source are stored in the IVECT register. In the EIT handler, read the content of this IVECT register using the LDH instruc- tion to get the ICU vector table address. When the IVECT register is read, operations (1) to (4) below are automatically performed in hardware. (1) The interrupt priority level of the accepted interrupt request source (ILEVEL) is set in the IMASK register as a new IMASK value. (Interrupts with lower priority levels than that of the accepted interrupt request source are masked.) (2) The interrupt request bit for the accepted interrupt request source is cleared (not cleared for level-recog- nized interrupt request sources). (3) The interrupt request (EI) to the CPU core is dropped. (4) The ICU’s internal sequencer is activated to start internal processing (interrupt priority resolution). Notes: • Do not read the Interrupt Vector Register (IVECT) in the EIT handler unless interrupts are dis- abled (PSW register IE bit = "0"). In the EIT handler, furthermore, read the Interrupt Request Mask Register (IMASK) first before reading the IVECT register. • To reenable interrupts (by setting the IE bit to "1") after reading the Interrupt Vector Register (IVECT), execute the following processing in the order given: (1) Read the Interrupt Vector Register (IVECT) (2) Perform a read access to the SFR at least once (3) Perform a dumy access to the internal memory, SFR, etc. at least once (4) Enable interrupts (by setting the IE bit to "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 |