| Electronic Components Datasheet Search |
|
COP685BC Datasheet(PDF) 41 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP685BC Datasheet(HTML) 41 Page - National Semiconductor (TI) |
|
41 / 57 page ![]() Interrupts (Continued) TABLE 9. Interrupt Vector Table Arbitration Source Vector Address Ranking Hi-Low Byte 1 Software Trap 0yFE–0yFF 2 Reserved 0yFC–0yFD 3 CAN Receive 0yFA–0yFB 4 CAN Error 0yF8–0yF9 (transmit/receive) 5 CAN Transmit 0yF6–0yF7 6 Pin G0 Edge 0yF4–0yF5 7 IDLE Timer Underflow 0yF2–0yF3 8 Timer T1A/Underflow 0yF0–0yF1 9 Timer T1B 0yEE–0yEF 10 MlCROWIRE/PLUS 0yEC–0yED 11 PWM timer 0YEA–0yEB 12 Reserved 0yE8–0yE9 13 Reserved 0yE6–0yE7 14 Reserved 0yE4–0yE5 15 Port L/Wake Up 0yE2–0yE3 16 Default VIS Interrupt 0yE0–0yE1 Note 18: y is VIS page, y ≠ 0 If, by accident, a VIS gets executed and no interrupt is ac- tive, then the PC (Program Counter) will branch to a vector located at 0yE0-0yE1. VIS Execution When the VIS instruction is executed it activates the arbitra- tion logic. The arbitration logic generates an even number between E0 and FE (E0, E2, E4, E6 etc...) depending on which active interrupt has the highest arbitration ranking at the time of the 1st cycle of VIS is executed. For example, if the software trap interrupt is active, FE is generated. If the external interrupt is active and the software trap interrupt is not, then FA is generated and so forth. If the only active inter- rupt is software trap, than E0 is generated. This number re- places the lower byte of the PC. The upper byte of the PC re- mains unchanged. The new PC is therefore pointing to the vector of the active interrupt with the highest arbitration rank- ing. This vector is read from program memory and placed into the PC which is now pointed to the 1st instruction of the service routine of the active interrupt with the highest arbitra- tion ranking. Figure 36 illustrates the different steps performed by the VIS instruction. Figure 37 shows a flowchart for the VIS instruc- tion. The non-maskable interrupt pending flag is cleared by the RPND (Reset Non-Maskable Pending Bit) instruction (under certain conditions) and upon RESET. www.national.com 41 |
|
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 |