
Programmable Interrupt Controller
15-20
Élan™SC520 Microcontroller User’s Manual
15.6
INITIALIZATION
The programmable interrupt controller responds only to system reset.
The Slave 1, Slave 2, and Master interrupt controllers are not affected by system reset.
The interrupt controller direct-mapped registers, once configured, retain their values during
a system reset. However, all other configuration registers default to their power-on reset
states when a system reset occurs. The interrupt router is reset, such that the interrupt
requests are gated off. This effectively disables all interrupt requests from reaching the CPU.
At system reset, the PIC is disabled.
1. Configure the Master, Slave 1, and Slave 2 controllers as described in “Configuration
Information” on page 15-16. Mask all interrupts.
2. Place an interrupt service routine at the locations corresponding to the interrupt priority
levels to be supported.
3. Enable the desired priority levels by mapping the interrupts sources to the interrupt levels
in the interrupt router and unmasking the interrupt in the corresponding interrupt
controllers. Set the IF bit in the CPU’s Flags register using the STI instruction. (NMIs
are disabled on system and soft reset and must be enabled via NMI_ENB bit before use).
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...