English
Language : 

TLE9869QXA20_15 Datasheet, PDF (46/122 Pages) Infineon Technologies AG – Microcontroller with LIN and H-Bridge MOSFET Driver for Automotive Applications
TLE9869QXA20
GPIO Ports and Peripheral I/O
14.2.2 Port 2
Figure 18 shows the structure of an input-only port pin. Each P2 pin can only function in input mode. Register
P2_DIR is provided to enable or disable the input driver. When the input driver is enabled, the actual voltage level
present at the port pin is translated into a logic 0 or 1 via a Schmitt trigger device and can be read via register
P2_DATA. Each pin can also be programmed to activate an internal weak pull-up or pull-down device. Register
P2_PUDSEL selects whether a pull-up or the pull-down device is activated while register P2_PUDEN enables or
disables the pull device. The analog input (AnalogIn) bypasses the digital circuitry and Schmitt trigger device for
direct feed-through to the ADC input channels.
I
N
T
E
R
N
A
L
B
U
S
AltDataIn
AnalogIn
PUDSEL
Pull-up / Pull-down
Select Register
PUDEN
Pull-up / Pull-down
Enable Register
Data
In
Data Register
Figure 18 General Structure of Input Port (P2)
Pull-up / Pull-down
Control Logic
Pull Device
Schmitt
Trigger
Input
Driver
Pad
Port_Input _Diagram.vsd
Data Sheet
46
Rev. 1.0, 2015-04-30