Content originally posted in LPCWare by mc on Thu Sep 17 09:49:00 MST 2015
Hi Dill,
Yes, In case of functions other than GPIO, normally you will use default values of MODE, HYS, INV, OD and S_MODE. However some time, you can change value according to your requirements. For example in LPC11U6x_E6X you can change I2c modes(bit9:8). Please check
I2C open-drain pin control registers (PIO0_[4:5], addresses 0x4004 4010 (PIO0_4) to 0x4004 4014 (PIO0_5)) bit description
in the UM of this device.