aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2015-03-03 21:15:21 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2015-03-03 21:15:21 +0100
commit555d45f70a51130990ca8cb2c21ab88451566c31 (patch)
treeb7253837f7a8783c1f1d3d7da119de46acc360e8 /os/hal/ports/TIVA/TM4C123x/tiva_registry.h
parent12d6c494d337e37fdc9d3d7c3a2211f03755fc17 (diff)
downloadChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.tar.gz
ChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.tar.bz2
ChibiOS-Contrib-555d45f70a51130990ca8cb2c21ab88451566c31.zip
Implemented AHB access for GPIOA - GPIOJ for TM4C123x devices. On TM4C129x devices the AHB is the only used bus for GPIO.
Replaced the nops after starting the gpio peripheral clocks with a busy wait until all GPIO peripherals are ready. Added Sub-Family identifier for TM4C123x devices.
Diffstat (limited to 'os/hal/ports/TIVA/TM4C123x/tiva_registry.h')
-rw-r--r--os/hal/ports/TIVA/TM4C123x/tiva_registry.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
index c626428..09a8c75 100644
--- a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
+++ b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
@@ -58,6 +58,13 @@
#error "No valid device defined."
#endif
+/**
+ * @brief Sub-family identifier.
+ */
+#if !defined(TM4C123x) || defined(__DOXYGEN__)
+#define TM4C123x
+#endif
+
/*===========================================================================*/
/* Platform capabilities. */
/*===========================================================================*/