AM186ES Advanced Micro Devices, AM186ES Datasheet - Page 100

no-image

AM186ES

Manufacturer Part Number
AM186ES
Description
microcontrollers provide a low-cost/ high-performance solution for embedded system designers who wish to use the x86 architecture.
Manufacturer
Advanced Micro Devices
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AM186ES-20KC
Manufacturer:
AMD
Quantity:
1 045
Part Number:
AM186ES-25KC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM186ES-25KI/W
Manufacturer:
SICK
Quantity:
1 000
Part Number:
AM186ES-40KC
Manufacturer:
AMD
Quantity:
5 510
Part Number:
AM186ES-40KC
Manufacturer:
XILINX
0
Part Number:
AM186ES-40KC
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM186ES-40VC
Manufacturer:
AMD
Quantity:
1 831
Part Number:
AM186ES25KCW
Manufacturer:
AMD
Quantity:
5 292
Part Number:
AM186ESLV-20KI
Manufacturer:
AMD
Quantity:
20 000
Part Number:
AM186ESLV-20VC/W
Manufacturer:
AMD
Quantity:
20 000
7.2.3
7.2.4
7.2.5
7-12
Special Fully Nested Mode
Special fully nested mode is entered by setting the SFNM bit in the INT0 or INT1 control
registers. (See Section 7.3.1 on page 7-14.) It enables complete nesting with external
82C59A masters or multiple interrupts from the same external interrupt pin when not in
cascade mode. In this case, the ISRs must be re-entrant.
In fully nested mode, an interrupt request from an interrupt source is not recognized when
the in-service bit for that source is set. In this case, if more than one interrupt source is
connected to an external interrupt controller, all of the interrupts go through the same
Am186ES or Am188ES microcontroller interrupt request pin. As a result, if the external
interrupt controller receives a higher-priority interrupt, its interrupt is not recognized by the
microcontroller until the in-service bit is reset.
In special fully nested mode, the microcontroller interrupt controller allows the processor
to take interrupts from an external pin regardless of the state of the in-service bit for an
interrupt source in order to allow multiple interrupts from a single pin. An in-service bit
continues to be set, however, to inhibit interrupts from other lower-priority Am186ES or
Am188ES microcontroller interrupt sources.
In special fully nested mode with cascade mode, when a write is issued to the EOI register
at the end of the interrupt service routine, software polling of the IS register in the external
master 82C59A must determine if there is more than one IS bit set. If so, the IS bit in the
microcontroller remains active and the next ISR is entered.
Operation in a Polled Environment
The interrupt controller can be used in polled mode if interrupts are not desired. When
polling, interrupts are disabled and software polls the interrupt controller as required. The
interrupt controller is polled by reading the Poll Status register (Figure 7-14). Bit 15 in the
Poll Status register indicates to the processor that an interrupt of high enough priority is
requesting service. Bits 4–0 indicate to the processor the interrupt type of the highest-
priority source requesting service. After determining that an interrupt is pending, software
reads the Poll register, which causes the in-service bit of the highest-priority source to be set.
To enable reading of the Poll register information without setting the indicated in-service
bit, the Am186ES and Am188ES microcontrollers provide a Poll Status register (Figure 7-
14) in addition to the Poll register. Poll register information is duplicated in the Poll Status
register, but the Poll Status register can be read without setting the associated in-service
bit. These registers are located in two adjacent memory locations in the peripheral control
block.
End-of-Interrupt Write to the EOI Register
A program must write to the EOI register to reset the in-service (IS) bit when an interrupt
service routine is completed. There are two types of writes to the EOI register—specific
EOI and non-specific EOI (see Section 7.3.13 on page 7-27).
Non-specific EOI does not specify which IS bit is to be reset. Instead, the interrupt controller
automatically resets the IS bit of the highest priority source with an active service routine.
Specific EOI requires the program to send the interrupt type to the interrupt controller to
indicate the source IS bit that is to be reset. Specific reset is applicable when interrupt
nesting is possible or when the highest priority IS bit that was set does not belong to the
service routine in progress.
Interrupt Control Unit

Related parts for AM186ES