DocID13284 Rev 2 27/564
UM0404 Architectural overview
specify the required operands.
1.1.6 Programmable multiple priority interrupt system
The following enhancements have been included to allow processing of a large number of
interrupt sources:
• Peripheral Event Controller (PEC): This processor is used to off-load many interrupt
requests from the CPU. It avoids the overhead of entering and exiting interrupt or trap
routines by performing single cycle interrupt-driven byte or word data transfers
between any two locations in segment 0 with an optional increment of either the PEC
source or the destination pointer. Just one cycle is 'stolen' from the current CPU activity
to perform a PEC service.
• Multiple Priority Interrupt Controller: This controller allows all interrupts to be placed at
any specified priority. Interrupts may also be grouped, which provides the user with the
ability to prevent similar priority tasks from interrupting each other. For each of the
possible interrupt sources there is a separate control register, which contains an
interrupt request flag, an interrupt enable flag and an interrupt priority bit-field. Once
having been accepted by the CPU, an interrupt service can only be interrupted by a
higher prioritized service request. For standard interrupt processing, each of the
possible interrupt sources has a dedicated vector location.
• Multiple Register Banks: This feature allows the user to specify up to sixteen general
purpose registers located anywhere in the IRAM. A single “one instruction cycle”
instruction is used to switch register banks from one task to another.
• Interruptible Multiple Cycle Instructions: Reduced interrupt latency is provided by
allowing multiple-cycle instructions (multiply, divide) to be interruptible.
With an interrupt response time within a range from just 5 to 12 CPU clock periods, the
ST10F276 is capable of fast reaction to non-deterministic events.
The ST10F276 also provides an excellent mechanism to identify and to process exceptions
or error conditions that arise during run-time, so called ‘Hardware Traps’. Hardware traps
cause an immediate non-maskable system reaction which is similar to a standard interrupt
service (branching to a dedicated vector table location).
The occurrence of a hardware trap is additionally signified by an individual bit in the trap flag
register (TFR).
Except for another higher prioritized trap service being in progress, a hardware trap will
interrupt any current program execution. In turn, hardware trap services can normally not be
interrupted by standard or PEC interrupts.
Software interrupts are supported by means of the 'TRAP' instruction in combination with an
individual trap (interrupt) number.
1.2 On-chip system resources
The ST10F276 controllers provide a number of powerful system resources designed around
the CPU. The combination of CPU and these resources results in the high performance of
the members of this controller family.