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

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
7.2
To maximize flexibility for different applications and their specific IO requirements, port
lines have programmable alternate input or output functions associated with them.
Table 7-2
Port
PORT0 Address and data lines when accessing
PORT1 Capture inputs or compare outputs of the
Port 5
Port 8
Port 20 Bus control signals,
If an alternate output function of a pin is to be used, the alternate data must be routed
to the output driver and the driver must be enabled. For some alternate output signals,
such as bus signals or X-Peripheral signals, this is done automatically via separate
control lines, indicated by control line “AltEN” in the subsequent port figures. For the
remaining alternate output signals this has to be accomplished by user software. If the
alternate signal is combined with the port latch signal the respective port latch must be
set accordingly (see individual port figures). The output driver must be enabled by
switching the pin to output (DPx.y = ‘1’). Otherwise, the pin remains in the
high-impedance state and is not affected by the alternate output function.
If an alternate input function of a pin is used, the direction of the pin must be
programmed for input (DPx.y = ‘0’) if an external device is driving the pin. The input
direction is the default after reset. If no external device is connected to the pin, however,
one can also set the direction for this pin to output. In this case, the pin reflects the state
of the port output latch. Thus, the alternate input function reads the value stored in the
port output latch. This can be used for testing purposes to allow a software trigger of an
alternate input function by writing to the port output latch.
User’s Manual
Alternate Function(s)
external resources (e.g. memory),
Input/output functions of serial interfaces
CAPCOM units,
Fast external interrupt inputs,
CAPCOM timer input
Analog input channels to the A/D converter,
Timer control signal inputs
Capture inputs or compare outputs of the
CAPCOM2 unit,
CAN interface (when assigned)
System clock or programmable frequency
output, reset output, configuration input
Alternate Port Functions
Summary of Alternate Port Functions
7-9
Alternate Signal(s)
AD15 … AD0,
RxD0, TxD0,
MTSR, MRST, SCLK
CC31IO … CC24IO,
CTRAP,
CC6n, COUT6n, CC6POSn,
EX3IN … EX0IN,
T7IN
AN7 … AN0,
T2EUD, T3EUD, T4EUD,
T2IN, T3IN, T4IN
CC19IO … CC16IO,
CAN1_TxD, CAN1_RxD
RD, WR, ALE,
CLKOUT/FOUT,
RSTOUT, EA
C164CM/C164SM
Parallel Ports
Derivatives
V1.0, 2002-02

Related parts for SAF-C164SM