aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ossmann2012-05-22 14:19:45 -0600
committerMichael Ossmann2012-05-22 14:19:45 -0600
commit7d434c3ebc17aa8007a15cb924c92994a8084b6d (patch)
treee87165a7b27f00471e8045689c484a3aa052fddf
parentce14f4c0773008a726c8254a700cb57dd752306b (diff)
typo fix
-rw-r--r--include/libopencm3/lpc43xx/gpio.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/libopencm3/lpc43xx/gpio.h b/include/libopencm3/lpc43xx/gpio.h
index bce3de6..738dcb5 100644
--- a/include/libopencm3/lpc43xx/gpio.h
+++ b/include/libopencm3/lpc43xx/gpio.h
@@ -108,15 +108,15 @@
#define GPIO7_PIN GPIO_PIN(GPIO7)
/* GPIO port masked pin value register (GPIOn_MPIN) */
-#define GPIO_PIN(port) MMIO32(port + 0x180)
-#define GPIO0_PIN GPIO_PIN(GPIO0)
-#define GPIO1_PIN GPIO_PIN(GPIO1)
-#define GPIO2_PIN GPIO_PIN(GPIO2)
-#define GPIO3_PIN GPIO_PIN(GPIO3)
-#define GPIO4_PIN GPIO_PIN(GPIO4)
-#define GPIO5_PIN GPIO_PIN(GPIO5)
-#define GPIO6_PIN GPIO_PIN(GPIO6)
-#define GPIO7_PIN GPIO_PIN(GPIO7)
+#define GPIO_MPIN(port) MMIO32(port + 0x180)
+#define GPIO0_MPIN GPIO_MPIN(GPIO0)
+#define GPIO1_MPIN GPIO_MPIN(GPIO1)
+#define GPIO2_MPIN GPIO_MPIN(GPIO2)
+#define GPIO3_MPIN GPIO_MPIN(GPIO3)
+#define GPIO4_MPIN GPIO_MPIN(GPIO4)
+#define GPIO5_MPIN GPIO_MPIN(GPIO5)
+#define GPIO6_MPIN GPIO_MPIN(GPIO6)
+#define GPIO7_MPIN GPIO_MPIN(GPIO7)
/* GPIO port output set register (GPIOn_SET) */
#define GPIO_SET(port) MMIO32(port + 0x200)