/* Sets the pin mode and configures the pin for use by I2C peripheral */
void PinTypeI2C(unsigned long ulPin, unsigned long ulPinMode)
/* Sets the pin mode and configures the pin for use by I2C peripheral */
void PinTypeI2C(unsigned long ulPin, unsigned long ulPinMode)
{
    PinModeSet(ulPin,ulPinMode);
    PinConfigSet(ulPin,PIN_STRENGTH_2MA,PIN_TYPE_OD_PU);
}