| Electronic Components Datasheet Search |
|
P80CL31 Datasheet(PDF) 31 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
P80CL31 Datasheet(HTML) 31 Page - NXP Semiconductors |
|
31 / 68 page ![]() 1997 Apr 15 31 Philips Semiconductors Product specification Low voltage 8-bit microcontrollers with UART P80CL31; P80CL51 14 INTERRUPT SYSTEM External events and the real-time-driven on-chip peripherals require service by the CPU at unpredictable times. To tie the asynchronous activities of these functions to normal program execution a multiple-source, two-priority-level, nested interrupt system is provided. The system is shown in Fig.19. The P80CLx1 acknowledges interrupt requests from thirteen sources as follows: • INT0 to INT9 • Timer 0 and Timer 1 • UART. Each interrupt vectors to a separate location in Program Memory for its service routine. Each source can be individually enabled or disabled by corresponding bits in the Interrupt Enable Registers (IEN0 and IEN1). The priority level is selected via the Interrupt Priority Registers (IP0 and IP1). All enabled sources can be globally disabled or enabled. Figure 19 shows the interrupt system. 14.1 External interrupts INT2 to INT9 Port 1 lines serve an alternative purpose as eight additional interrupts INT2 to INT9. When enabled, each of these lines may wake-up the device from the Power-down mode. Using the Interrupt Polarity Register (IX1), each pin may be initialized to be either active HIGH or active LOW. IRQ1 is the Interrupt Request Flag Register. If the interrupt is enabled, each flag will be set on an interrupt request but must be cleared by software, i.e. via the interrupt software or when the interrupt is disabled. Port 1 interrupts are level sensitive. A Port 1 interrupt will be recognized when a level (HIGH or LOW depending on the Interrupt Polarity Register) on P1.n is held active for at least one machine cycle. The interrupt request is not serviced until the next machine cycle. Figure 20 shows the external interrupt configuration. 14.2 Interrupt priority Each interrupt source can be set to either a high priority or to a low priority. If a low priority interrupt is received simultaneously with a high priority interrupt, the high priority interrupt will be dealt with first. If interrupts of the same priority are requested simultaneously, the processor will branch to the interrupt polled first, according to the sequence shown in Table 9 and in Fig.19. The ‘vector address’ is the ROM location where the appropriate interrupt service routine starts. Table 9 Interrupt vector polling sequence A low priority interrupt routine can only be interrupted by a high priority interrupt. A high priority interrupt routine cannot be interrupted. SYMBOL VECTOR ADDRESS (HEX) SOURCE X0 (first) 0003 External 0 S0 002B UART X5 0053 External 5 T0 000B Timer 0 X6 005B External 6 X1 0013 External 1 X2 003B External 2 X7 0063 External 7 T1 001B Timer 1 X3 0043 External 3 X8 006B External 8 X4 004B External 4 X9 (last) 0073 External 9 |
|
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 |