diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-11 12:30:48 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-11 12:30:48 -0600 |
commit | f4eeb330edf11a5ea373314846cdb4d7fd93cc1a (patch) | |
tree | 98bf0d64f76885e1e5948f1244ac5a12f681e38e /nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h | |
parent | f3c2f225d557d409a77e04133356c0d2c6c2f02b (diff) | |
download | nuttx-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/cc3200_pinmap.h')
-rw-r--r-- | nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h b/nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h index c674fdb45..b05b2a49d 100644 --- a/nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h +++ b/nuttx/arch/arm/src/tiva/chip/cc3200_pinmap.h @@ -70,13 +70,13 @@ # define GPIO_CORE_TRD0 (GPIO_FUNC_PFOUTPUT | GPIO_ALT_14 | GPIO_PADTYPE_ODWPU | GPIO_PORTF | GPIO_PIN_2) # define GPIO_CORE_TRD1 (GPIO_FUNC_PFOUTPUT | GPIO_ALT_14 | GPIO_PADTYPE_ODWPU | GPIO_PORTF | GPIO_PIN_1) -# define GPIO_I2C0_SCL (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTB | GPIO_PIN_2) +# define GPIO_I2C0_SCL (GPIO_FUNC_PFOUTPUT | GPIO_ALT_3 | GPIO_PORTB | GPIO_PIN_2) # define GPIO_I2C0_SDA (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTB | GPIO_PIN_3) -# define GPIO_I2C1_SCL (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTA | GPIO_PIN_6) +# define GPIO_I2C1_SCL (GPIO_FUNC_PFOUTPUT | GPIO_ALT_3 | GPIO_PORTA | GPIO_PIN_6) # define GPIO_I2C1_SDA (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTA | GPIO_PIN_7) -# define GPIO_I2C2_SCL (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTE | GPIO_PIN_4) +# define GPIO_I2C2_SCL (GPIO_FUNC_PFOUTPUT | GPIO_ALT_3 | GPIO_PORTE | GPIO_PIN_4) # define GPIO_I2C2_SDA (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTE | GPIO_PIN_5) -# define GPIO_I2C3_SCL (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTD | GPIO_PIN_0) +# define GPIO_I2C3_SCL (GPIO_FUNC_PFOUTPUT | GPIO_ALT_3 | GPIO_PORTD | GPIO_PIN_0) # define GPIO_I2C3_SDA (GPIO_FUNC_PFODIO | GPIO_ALT_3 | GPIO_PORTD | GPIO_PIN_1) # define GPIO_JTAG_SWCLK (GPIO_FUNC_PFINPUT | GPIO_ALT_1 | GPIO_PORTC | GPIO_PIN_0) |