SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 115

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
5.8
Although the C164CM has no dedicated INTR input pins, it supports many possibilities
to react to external asynchronous events. It does this by using a number of IO lines for
interrupt input. The interrupt function may be either combined with the pin’s main function
or used instead of it if the main pin function is not required.
Interrupt signals may be connected to:
• EX3IN … EX0IN, the fast external interrupt input pins,
• CC27IO … CC24IO, capture input / compare output lines of the CAPCOM2 unit,
• CC19IO … CC16IO, capture input / compare output lines of the CAPCOM2 unit,
• T4IN, T2IN, the timer input pins
For each of these pins, either a positive, a negative, or both a positive and a negative
external transition can be selected to cause an interrupt or PEC service request. The
edge selection is performed in the control register of the peripheral device associated
with the respective port pin. The peripheral must be programmed to a specific operating
mode to allow generation of an interrupt by the external signal. The priority of the
interrupt request is determined by the interrupt control register of the respective
peripheral interrupt source, and the interrupt vector of this source will be used to service
the external interrupt request.
Note: In order to use any of the listed pins as an external interrupt input, it must be
Table 5-8
Port Pin
P1H.3-0/EX3-0IN
P1H.7-4/CC27-24IO CAPCOM Register 27-24 Capture Input
P8.3-0/CC19-16IO
P5.6/T2IN
P5.7/T4IN
User’s Manual
switched to input mode via its direction control bit DPx.y in the respective port
direction control register DPx.
External Interrupts
Pins Usable as External Interrupt Inputs
Original Function
Fast external interrupt input pin
CAPCOM Register 19-16 Capture Input
Auxiliary timer T2 input pin
Auxiliary timer T4 input pin
5-25
Interrupt and Trap Functions
C164CM/C164SM
Control Register
EXICON
CC27-CC24
CC19-CC16
T2CON
T4CON
Derivatives
V1.0, 2002-02

Related parts for SAF-C164SM