Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ST10F269Z2QX View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
'ST10F269Z2QX' PDF : 161 Pages View PDF
ST10F269Z2Qx
8 - INTERRUPT SYSTEM
The interrupt response time for internal program
execution is from 125ns to 300ns at 40MHz CPU
clock.
The ST10F269Z2Qx architecture supports
several mechanisms for fast and flexible response
to service requests that can be generated from
various sources (internal or external) to the
microcontroller. Any of these interrupt requests
can be serviced by the Interrupt Controller or by
the Peripheral Event Controller (PEC).
In contrast to a standard interrupt service where
the current program execution is suspended and
a branch to the interrupt vector table is performed,
just one cycle is ‘stolen’ from the current CPU
activity to perform a PEC service. A PEC service
implies a single Byte or Word data transfer
between any two memory locations with an
additional increment of either the PEC source or
destination pointer. An individual PEC transfer
counter is implicitly decremented for each PEC
service except when performing in the continuous
transfer mode. When this counter reaches zero, a
standard interrupt is performed to the
corresponding source related vector location.
PEC services are very well suited to perform the
transmission or the reception of blocks of data.
The ST10F269Z2Qx has 8 PEC channels, each
of them offers such fast interrupt-driven data
transfer capabilities.
An interrupt control register which contains an
interrupt request flag, an interrupt enable flag and
an interrupt priority bit-field is dedicated to each
existing interrupt source. Thanks to its related
register, each source can be programmed to one
of sixteen interrupt priority levels. Once starting to
be processed by the CPU, an interrupt service
can only be interrupted by a higher prioritized
service request. For the standard interrupt
processing, each of the possible interrupt sources
has a dedicated vector location.
Software interrupts are supported by means of the
‘TRAP’ instruction in combination with an
individual trap (interrupt) number.
8.1 - External Interrupts
Fast external interrupt inputs are provided to
service external interrupts with high precision
requirements. These fast interrupt inputs feature
programmable edge detection (rising edge, falling
edge or both edges).
Fast external interrupts may also have interrupt
sources selected from other peripherals; for
example the CANx controller receive signal
(CANx_RxD) can be used to interrupt the system.
This new function is controlled using the ‘External
Interrupt Source Selection’ register EXISEL.
EXISEL (F1DAh / EDh)
15 14
EXI7SS
13 12
EXI6SS
RW
RW
11 10
EXI5SS
RW
ESFR
9
8
EXI4SS
7
6
EXI3SS
RW
RW
5
4
EXI2SS
RW
EXIxSS
External Interrupt x Source Selection (x=7...0)
‘00’: Input from associated Port 2 pin.
‘01’: Input from “alternate source”.
‘10’: Input from Port 2 pin ORed with “alternate source”.
‘11’: Input from Port 2 pin ANDed with “alternate source”.
Reset Value: 0000h
3
2
EXI1SS
1
0
EXI0SS
RW
RW
EXIxSS
0
1
2
3
4...7
Port 2 pin
P2.8
P2.9
P2.10
P2.11
P2.12...15
Alternate Source
CAN1_RxD
CAN2_RxD
RTCSI (Timed)
RTCAI (Alarm)
Not used (zero)
44/161
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]