|#define IOCON_INV_EN (0x1 << 6)||/*!< Enables invert function on input */|
|#define IOCON_RESERVED_BIT_6 (0x1 << 6)||/*!< Reserved, must be set. */|
Bit 6 is responsible for inverting the pin! I just spent 6 hours tracking down why my UART is not working just because I set this bit... Not cool!