120 Digital Port Functions
OUT 0 (pin 1) This port can only be used as an open-collector output. It is assigned a bit weight of 1.
OUT 1 (pin 2) This port can only be used as an open-collector output. It is assigned a bit weight of 2.
IN/OUT 2 (pin 3) This port can be programmed to be either a high impedance input or an open-collector output.
Common (pin 4) This pin is the common connection for the Digital I/O ports.
Figure C-5. Digital l/O Port Applications