English
Language : 

XC164KM Datasheet, PDF (41/62 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core
XC164KM
Derivatives
Functional Description
3.14
Parallel Ports
The XC164KM provides up to 47 I/O lines which are organized into three input/output
ports and one input port. All port lines are bit-addressable, and all input/output lines are
individually (bit-wise) programmable as inputs or outputs via direction registers. The I/O
ports are true bidirectional ports which are switched to high impedance state when
configured as inputs. The output drivers of some I/O ports can be configured (pin by pin)
for push/pull operation or open-drain operation via control registers. During the internal
reset, all port pins are configured as inputs.
The edge characteristics (shape) and driver characteristics (output current) of the port
drivers can be selected via registers POCONx.
The input threshold of some ports is selectable (TTL or CMOS like), where the special
CMOS like input threshold reduces noise sensitivity due to the input hysteresis. The
input threshold may be selected individually for each byte of the respective ports.
Many port lines have programmable alternate input or output functions associated with
them. All port lines that are not used for these alternate functions may be used as general
purpose IO lines.
Table 3-5 Summary of the XC164KM’s Parallel Ports
Port
Control
Alternate Functions
PORT1 Pad drivers
Serial interface lines
Port 3
Pad drivers, Timer control signals, serial interface lines,
Open drain,
System clock output CLKOUT (or FOUT)
Input threshold
Port 5 –
Timer control signals
Port 9
Pad drivers, Capture inputs or compare outputs
Open drain,
CAN interface lines1)
Input threshold
1) Can be assigned by software.
Data Sheet
39
V1.0, 2005-11