Nut/OS  5.0.5
API Reference
lpc177x_8x_gpio.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#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   (0 << 3)
#define IOCON_MODE_PULLDOWN   (1 << 3)
#define IOCON_MODE_PULLUP   (2 << 3)
#define IOCON_MODE_REPEATER   (3 << 3)
#define IOCON_HYSTERESIS   (1 << 5)
#define IOCON_INVERTED   (1 << 6)
#define IOCON_ADMODE   (1 << 7)
#define IOCON_GLITCH_FILTER   (1 << 8)
#define IOCON_SLEW   (1 << 9)
#define IOCON_I2CMODE_FAST   (0 << 8)
#define IOCON_I2CMODE_OPENDRAIN   (1 << 8)
#define IOCON_I2CMODE_FASTPLUS   (2 << 8)
#define IOCON_I2CMODE_HIGHOPENDRAIN   (3 << 8)
#define IOCON_ODMODE   (1 << 10)
#define IOCON_DACEN   (1 << 16)

Define Documentation

#define IOCON_FUNC_POS   0

Referenced by GpioPinConfigGet().

#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

Referenced by GpioPinConfigSet().

#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   (0 << 3)

Referenced by GpioPinConfigGet().

#define IOCON_MODE_PULLDOWN   (1 << 3)
#define IOCON_MODE_PULLUP   (2 << 3)
#define IOCON_MODE_REPEATER   (3 << 3)
#define IOCON_HYSTERESIS   (1 << 5)
#define IOCON_INVERTED   (1 << 6)
#define IOCON_ADMODE   (1 << 7)
#define IOCON_GLITCH_FILTER   (1 << 8)
#define IOCON_SLEW   (1 << 9)
#define IOCON_I2CMODE_FAST   (0 << 8)
#define IOCON_I2CMODE_OPENDRAIN   (1 << 8)
#define IOCON_I2CMODE_FASTPLUS   (2 << 8)
#define IOCON_I2CMODE_HIGHOPENDRAIN   (3 << 8)
#define IOCON_ODMODE   (1 << 10)
#define IOCON_DACEN   (1 << 16)