English
Language : 

XC164SM_07 Datasheet, PDF (42/67 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core
XC164SM
Derivatives
Functional Description
3.14
Parallel Ports
The XC164SM 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.
All 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 7
Port
PORT1
Port 3
Port 5
Port 9
Summary of the XC164SM’s Parallel Ports
Control
Alternate Functions
Pad drivers
Capture inputs or compare outputs,
Serial interface lines
Pad drivers, Timer control signals, serial interface lines,
Open drain,
System clock output CLKOUT (or FOUT)
Input threshold
–
Analog input channels to the A/D converter,
Timer control signals
Pad drivers, Capture inputs or compare outputs
Open drain,
Input threshold
Data Sheet
40
V1.2, 2007-03