![Infineon Technologies TC1796 User Manual Download Page 489](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437489.webp)
TC1796
System Units (Vol. 1 of 2)
General Purpose I/O Ports and Peripheral I/O Lines
User’s Manual
10-37
V2.0, 2007-07
Ports, V2.0
10.5.3
Port 2 Registers
The following registers are available on Port 2:
Note: The complete address map of Port 2 is described in
of this TC1796 System Units (Vol. 1 of 2) User’s Manual.
10.5.3.1 Port 2 Output Register
The basic P2_OUT register functionality is described on
. Port lines P2.[1:0]
are not connected to port lines. Therefore, reading the P2_OUT bits P[1:0] returns the
value that was last written (0 after reset). These bits can be also set/cleared by the
corresponding P2_OMR bits.
10.5.3.2 Port 2 Output Modification Register
The basic P2_OMR register functionality is described on
. However, port
lines P2.0 and P2.1 are not available. Therefore, the P2_OMR bits PS[1:0] and PR[1:0]
have no direct effect on port lines but only on register bits P2_OUT.P[1:0].
Table 10-12 Port 2 Registers
Register
Short Name
Register Long Name
Offset
Address
Description
see
P2_OUT
Port 2 Output Register
0000
H
below
1)
1) These registers are listed and noted here in the Port 2 section because they differ from the general port
register description given in
.
P2_OMR
Port 2 Output Modification Register
0004
H
P2_IOCR0
Port 2 Input/Output Control Register 0
0010
H
P2_IOCR4
Port 2 Input/Output Control Register 4
0014
H
P2_IOCR8
Port 2 Input/Output Control Register 8
0018
H
P2_IOCR12 Port 2 Input/Output Control Register 12
001C
H
P2_IN
Port 2 Input Register
0024
H
P2_PDR
Port 2 Pad Driver Mode Register
0040
H
P2_ESR
Port 2 Emergency Stop Register
0050
H