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

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
7
In order to accept or generate single external control signals or parallel data, the
C164CM provides up to 50 parallel IO lines organized as follows: four 8-bit IO ports
(PORT0 made of P0H and P0L, PORT1 made of P1H and P1L), one 6-bit IO port
(Port 20), one 4-bit IO port (Port 8), and one 8-bit input port (Port 5).
These port lines may be used for general purpose Input/Output functions controlled via
software or may be used implicitly by the C164CM’s integrated peripherals or by the
External Bus Controller.
All port lines are bit addressable, and all input/output lines are individually (bit-wise)
programmable as inputs or outputs via direction registers (excluding Port 5, which is an
input only port). The IO ports are true bidirectional ports which are switched to high
impedance state when configured as inputs. The output drivers of Port 8 can be
configured (pin by pin) for push/pull operation or open-drain operation via a control
register.
The logic level of a pin is clocked into the input latch once per state time, regardless of
whether the port is configured for input or output.
A write operation to a port pin configured as an input causes the value to be written into
the port output latch, while a read operation returns the latched state of the pin itself. A
read-modify-write operation reads the value of the pin, modifies it, and writes it back to
the output latch.
Figure 7-1
User’s Manual
Parallel Ports
SFRs and Pins Associated with the Parallel Ports
Data Input/Output
P0L
P0H
P1L
P1H
P5
P8
P20
Registers
DP0L
DP0H
DP1L
DP1H
DP8
DP20
Direction Control
Registers
7-1
E
E
E
E
SYSCON
P5DIDIS
ODP8
Diverse Control
Registers
MCA05115
C164CM/C164SM
E
Parallel Ports
Derivatives
V1.0, 2002-02

Related parts for SAF-C164SM