summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-10 08:47:07 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-10 08:47:07 -0600
commitd19d6e46bd287e8466b21857075eb471a661d4d4 (patch)
treeb3412fb057806a366305d557b1a804d3dcab7e99 /nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h
parent48a01a7006ab4c61f594dff2102ace682e16b3ae (diff)
downloadnuttx-d19d6e46bd287e8466b21857075eb471a661d4d4.tar.gz
nuttx-d19d6e46bd287e8466b21857075eb471a661d4d4.tar.bz2
nuttx-d19d6e46bd287e8466b21857075eb471a661d4d4.zip
Simplify I2C master/slave addresing to simplify driver development
Diffstat (limited to 'nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h')
-rw-r--r--nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h b/nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h
index d47971574..a48500f63 100644
--- a/nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h
+++ b/nuttx/arch/arm/src/tiva/chip/cc3200_memorymap.h
@@ -84,18 +84,17 @@
#if defined(CONFIG_ARCH_CHIP_CC3200)
-# define TIVA_WDOG0_BASE (TIVA_PERIPH_BASE + 0x00000) /* -0x00fff: Watchdog Timer 0 */
+# define TIVA_WDOG0_BASE (TIVA_PERIPH_BASE + 0x00000) /* -0x00fff: Watchdog Timer 0 */
-# define TIVA_GPIOA_BASE (TIVA_PERIPH_BASE + 0x04000) /* -0x04fff: GPIO Port A */
-# define TIVA_GPIOB_BASE (TIVA_PERIPH_BASE + 0x05000) /* -0x05fff: GPIO Port B */
-# define TIVA_GPIOC_BASE (TIVA_PERIPH_BASE + 0x06000) /* -0x06fff: GPIO Port C */
-# define TIVA_GPIOD_BASE (TIVA_PERIPH_BASE + 0x07000) /* -0x07fff: GPIO Port D */
+# define TIVA_GPIOA_BASE (TIVA_PERIPH_BASE + 0x04000) /* -0x04fff: GPIO Port A */
+# define TIVA_GPIOB_BASE (TIVA_PERIPH_BASE + 0x05000) /* -0x05fff: GPIO Port B */
+# define TIVA_GPIOC_BASE (TIVA_PERIPH_BASE + 0x06000) /* -0x06fff: GPIO Port C */
+# define TIVA_GPIOD_BASE (TIVA_PERIPH_BASE + 0x07000) /* -0x07fff: GPIO Port D */
-# define TIVA_UART0_BASE (TIVA_PERIPH_BASE + 0x0c000) /* -0x0cfff: UART0 */
-# define TIVA_UART1_BASE (TIVA_PERIPH_BASE + 0x0d000) /* -0x0dfff: UART1 */
+# define TIVA_UART0_BASE (TIVA_PERIPH_BASE + 0x0c000) /* -0x0cfff: UART0 */
+# define TIVA_UART1_BASE (TIVA_PERIPH_BASE + 0x0d000) /* -0x0dfff: UART1 */
-# define TIVA_I2CM0_BASE (TIVA_PERIPH_BASE + 0x20000) /* -0x207ff: I2C Master 0 */
-# define TIVA_I2CS0_BASE (TIVA_PERIPH_BASE + 0x20800) /* -0x20fbf: I2C Slave 0 */
+# define TIVA_I2C0_BASE (TIVA_PERIPH_BASE + 0x20000) /* -0x207ff: I2C0 */
# define TIVA_TIMER0_BASE (TIVA_PERIPH_BASE + 0x30000) /* -0x30fff: 16/32 Timer 0 */
# define TIVA_TIMER1_BASE (TIVA_PERIPH_BASE + 0x31000) /* -0x31fff: 16/32 Timer 1 */