#define IOCON_FUNC_POS 0
#define IOCON_FUNC_BITMASK 0x00000007
#define IOCON_MODE_POS 3
#define IOCON_MODE_BITMASK 0x00000018
#define IOCON_HYSTERESIS_POS 5
#define IOCON_HYSTERESIS_BITMASK 0x00000020
#define IOCON_INVERT_POS 6
#define IOCON_INVERT_BITMASK 0x00000040
#define IOCON_ADMODE_POS 7
#define IOCON_ADMODE_BITMASK 0x00000080
#define IOCON_GLITCH_FILTER_POS 8
#define IOCON_GLITCH_FILTER_BITMASK 0x00000100
#define IOCON_I2C_MODE_POS 8
#define IOCON_I2C_MODE_BITMASK 0x00000300
#define IOCON_SLEW_POS 9
#define IOCON_SLEW_BITMASK 0x00000200
#define IOCON_ODMODE_POS 10
#define IOCON_ODMODE_BITMASK 0x00000400
#define IOCON_DACEN_POS 16
#define IOCON_DACEN_BITMASK 0x00010000
#define IOCON_MODE_PLAIN
#define IOCON_MODE_PULLDOWN
#define IOCON_MODE_PULLUP
#define IOCON_MODE_REPEATER
#define IOCON_HYSTERESIS
#define IOCON_INVERTED
#define IOCON_ADMODE
#define IOCON_GLITCH_FILTER
#define IOCON_SLEW
#define IOCON_I2CMODE_FAST
#define IOCON_I2CMODE_OPENDRAIN
#define IOCON_I2CMODE_FASTPLUS
#define IOCON_I2CMODE_HIGHOPENDRAIN
#define IOCON_ODMODE
#define IOCON_DACEN