Hi,
The datasheet at Page-26 mentions, "The LED acts as a diode so, when the LED is off, the I/O VIN is about 1.2 V less than VCC." As per my understanding, the port act as an output pin in this case and hence voltage at the pin should be either VCCP or GND irrespective of state of LED. When it is VCCP, LED will be OFF and when it is GND, LED will turn on. Can you please clarify the same?
Regard,
Raja