EasyManua.ls Logo

Infineon Technologies TC1796 - 10.2.1 Port Input;Output Control Registers

Infineon Technologies TC1796
2150 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TC1796
System Units (Vol. 1 of 2)
General Purpose I/O Ports and Peripheral I/O Lines
User’s Manual 10-7 V2.0, 2007-07
Ports, V2.0
10.2.1 Port Input/Output Control Registers
The port input/output control registers select the digital output and input driver
functionality and characteristics of a GPIO port pin. Port direction (input or output), pull-
up or pull-down devices for inputs, and push-pull or open-drain functionality for outputs
can be selected by the corresponding bit fields PCx (x = 0-15). Each 32-bit wide port
input/output control register controls four GPIO port lines:
Register Pn_IOCR0 controls the Pn.[3:0] port lines
Register Pn_IOCR4 controls the Pn.[7:4] port lines
Register Pn_IOCR8 controls the Pn.[11:8] port lines
Register Pn_IOCR12 controls the Pn.[15:12] port lines
The diagrams below show the register layouts of the port input/output control registers
with the PCx bit fields. One PCx bit field controls exactly one port line Pn.x.
Pn_IOCR0
Port n Input/Output Control Register 0
(10
H
) Reset Value: 2020 2020
H
31 28 27 24 23 20 19 16 15 12 11 8 7 4 3 0
PC30PC20PC10PC00
rw r rw r rw r rw r
Field Bits Type Description
PC0,
PC1,
PC2,
PC3
[7:4],
[15:12],
[23:20],
[31:28]
rw Port Control for Port n Pin 0 to 3
This bit field determines the Port n line x functionality
(x = 0-3) according to the coding table (see
Table 10-3).
0 [3:0],
[11:8],
[19:16],
[27:24]
r Reserved
Read as 0; should be written with 0.

Table of Contents