diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-04 18:12:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-04 18:12:44 -0600 |
commit | 66fc92f59e4084677ddbd12a0b9d41d9ab2615a8 (patch) | |
tree | 15b7b9d11adf733a43cc3951107d9f1b87aef5fd /nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h | |
parent | ecdbd6a8632b17a25f1fa879252915176b3c830d (diff) | |
download | px4-nuttx-66fc92f59e4084677ddbd12a0b9d41d9ab2615a8.tar.gz px4-nuttx-66fc92f59e4084677ddbd12a0b9d41d9ab2615a8.tar.bz2 px4-nuttx-66fc92f59e4084677ddbd12a0b9d41d9ab2615a8.zip |
Move LPC17xx IOCON register definitions from lpc17_gpio.h to lpc17_iocon.h; fix a few more .gitignore files
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h')
-rw-r--r-- | nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h b/nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h index 842cb569a..8005425b1 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h +++ b/nuttx/arch/arm/src/lpc17xx/lpc178x_gpio.h @@ -57,15 +57,9 @@ */ /* Special Pin Functions - * For pins that has ADC/DAC, USB, I2C + * For pins that have ADC/DAC, USB, I2C */ -#define GPIO_IOCON_TYPE_D_MASK (0x0000067f) /* All port except where ADC/DAC, USB, I2C is present */ -#define GPIO_IOCON_TYPE_A_MASK (0x000105df) /* USB/ADC/DAC P0:12-13, P0:23-26, P1:30-31 */ -#define GPIO_IOCON_TYPE_U_MASK (0x00000007) /* USB P0:29 to 31 */ -#define GPIO_IOCON_TYPE_I_MASK (0x00000347) /* I2C/USB P0:27-28, P5:2-3 */ -#define GPIO_IOCON_TYPE_W_MASK (0x000007ff) /* I2S P0:7-9 */ - #define GPIO_IOCON_MASK (0x00ff0000) # define GPIO_HYSTERESIS (1 << 16) /* Bit 16: HYSTERESIS: 0-Disable, 1-Enabled */ # define GPIO_INVERT (1 << 17) /* Bit 17: Input: 0-Not Inverted, 1-Inverted */ |