CHAPTER 9 I/O PORT
9.5
Port 5
Port 5 is a general-purpose I/O port.
This section focuses on functions as a general-purpose I/O port.
See the chapters on each peripheral function for details about peripheral functions.
Port 5 Configuration
Port 5 is made up of the following elements.
• General-purpose I/O pins/peripheral function I/O pins
• Port 5 data register (PDR5)
• Port 5 direction register (DDR5)
• Input level selection register (ILSR)
• Input level selection register 2 (ILSR2)
Port 5 Pins
Port 5 has two I/O pins.
Table 9.5-1 lists the port 5 pins.
Table 9.5-1 Port 5 Pins
Pin name
P50/SCL0
P50 general-purpose I/O SCL0 I
P51/SDA0
P51 general-purpose I/O SDA0 I
OD: Open drain, PU: Pull-up
120
Function
Shared peripheral functions
2
C ch.0 clock I/O
2
C ch.0 data I/O
I/O type
Input
Output OD PU
Hysteresis/CMOS/
Automotive
Hysteresis/CMOS/
Automotive
-
-
-
-