summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-11 12:30:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-11 12:30:48 -0600
commitf4eeb330edf11a5ea373314846cdb4d7fd93cc1a (patch)
tree98bf0d64f76885e1e5948f1244ac5a12f681e38e /nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h
parentf3c2f225d557d409a77e04133356c0d2c6c2f02b (diff)
downloadnuttx-f4eeb330edf11a5ea373314846cdb4d7fd93cc1a.tar.gz
nuttx-f4eeb330edf11a5ea373314846cdb4d7fd93cc1a.tar.bz2
nuttx-f4eeb330edf11a5ea373314846cdb4d7fd93cc1a.zip
Tiva I2C: All SDA pins should be open drain, but all SCL pins should be digital output
Diffstat (limited to 'nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h')
-rw-r--r--nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h b/nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h
index 6f170ad19..0e4a26c74 100644
--- a/nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h
+++ b/nuttx/arch/arm/src/tiva/chip/lm3s_pinmap.h
@@ -176,11 +176,11 @@
# define GPIO_SSI0_FSS (GPIO_FUNC_PFIO | GPIO_PORTA | 3) /* PA3: SSI0 frame (SSI0Fss) */
# define GPIO_SSI0_RX (GPIO_FUNC_PFINPUT | GPIO_PORTA | 4) /* PA4: SSI0 receive (SSI0Rx) */
# define GPIO_SSI0_TX (GPIO_FUNC_PFOUTPUT | GPIO_PORTA | 5) /* PA5: SSI0 transmit (SSI0Tx) */
-# define GPIO_I2C1_SCL (GPIO_FUNC_PFODIO | GPIO_PORTA | 6) /* PA6: I2C1 clock (I2C1SCL) */
+# define GPIO_I2C1_SCL (GPIO_FUNC_PFOUTPUT | GPIO_PORTA | 6) /* PA6: I2C1 clock (I2C1SCL) */
# define GPIO_I2C1_SDA (GPIO_FUNC_PFODIO | GPIO_PORTA | 7) /* PA7: I2C1 data (I2C1SDA) */
# define GPIO_PWM1_2 (GPIO_FUNC_PFOUTPUT | GPIO_PORTB | 0) /* PB0: PWM Generator 1, PWM2 */
# define GPIO_PWM1_3 (GPIO_FUNC_PFOUTPUT | GPIO_PORTB | 1) /* PB1: PWM Generator 1, PWM3 */
-# define GPIO_I2C0_SCL (GPIO_FUNC_PFODIO | GPIO_PORTB | 2) /* PB2: I2C0 clock (I2C0SCL) */
+# define GPIO_I2C0_SCL (GPIO_FUNC_PFOUTPUT | GPIO_PORTB | 2) /* PB2: I2C0 clock (I2C0SCL) */
# define GPIO_I2C0_SDA (GPIO_FUNC_PFODIO | GPIO_PORTB | 3) /* PB3: I2C0 data (I2C0SDA) */
# define GPIO_CMP0_NIN (GPIO_FUNC_PFINPUT | GPIO_PORTB | 4) /* PB4: Analog comparator 0 negative input (C0-) */
# define GPIO_CMP1_NIN (GPIO_FUNC_PFINPUT | GPIO_PORTB | 5) /* PB5: Analog comparator 1 negative input (C1-) */