Datasheet
Rev. 3.00, 03/04, page 240 of 830
8.13.4 Pin Functions
Port D is a multi-function port that functions as an LPC input/output and IIC_5 input/output. The
relationship between the register settings and pin functions is described below.
The LPC module is disabled when the LPC1E, LPC2E, and LPC3E bits in HICR0 of LPC are all
cleared to a 0.
• PD7/SDA5
The pin function is switched as shown below according to the combination of the ICE bit of
the IIC_5 ICCR and the PD7DDR.
ICE 0 1
PD7DDR 0 1
Pin Function PD7 input pin PD7 output pin SDA5 input/output pin
• PD6/SCL5
The pin function is switched as shown below according to the combination of the ICE bit of
the IIC_5 ICCR and the PD6DDR.
ICE 0 1
PD6DDR 0 1
Pin Function PD6 input pin PD6 output pin SCL5 input/output pin
• PD5/LPCPD
The pin function is switched as shown below according to the combination of LPC
enabled/disabled and the PD5DDR.
LPC Disabled Enabled
PD5DDR 0 1 0
Pin Function PD5 input pin PD5 output pin LPCPD input pin
• PD4/CLKRUN
The pin function is switched as shown below according to the combination of LPC
enabled/disabled and the PD4DDR.
LPC Disabled Enabled
PD4DDR 0 1 0
Pin Function PD4 input pin PD4 output pin CLKRUN input/output pin