aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/lpc17xx/gpio.h
diff options
context:
space:
mode:
authorRoger Light2012-12-16 10:07:04 +0000
committerRoger Light2012-12-16 10:07:04 +0000
commitb9180a81d8a228a0ca4f37aae8e317a9d81fe4c9 (patch)
treede4841bb2f798a469962ee84bcabba226bb79eca /include/libopencm3/lpc17xx/gpio.h
parenta4a4255555797a975eff9b0168d625a6f4285af2 (diff)
Fix trivial typo INTERRPUT -> INTERRUPT.
Diffstat (limited to 'include/libopencm3/lpc17xx/gpio.h')
-rw-r--r--include/libopencm3/lpc17xx/gpio.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/libopencm3/lpc17xx/gpio.h b/include/libopencm3/lpc17xx/gpio.h
index 15afd87..f35516d 100644
--- a/include/libopencm3/lpc17xx/gpio.h
+++ b/include/libopencm3/lpc17xx/gpio.h
@@ -110,27 +110,27 @@
/* GPIO interrupt register map */
/* Interrupt enable rising edge */
-#define GPIO0_IER MMIO32(GPIOINTERRPUT_BASE + 0x90)
-#define GPIO2_IER MMIO32(GPIOINTERRPUT_BASE + 0xB0)
+#define GPIO0_IER MMIO32(GPIOINTERRUPT_BASE + 0x90)
+#define GPIO2_IER MMIO32(GPIOINTERRUPT_BASE + 0xB0)
/* Interrupt enable falling edge */
-#define GPIO0_IEF MMIO32(GPIOINTERRPUT_BASE + 0x94)
-#define GPIO2_IEF MMIO32(GPIOINTERRPUT_BASE + 0xB4)
+#define GPIO0_IEF MMIO32(GPIOINTERRUPT_BASE + 0x94)
+#define GPIO2_IEF MMIO32(GPIOINTERRUPT_BASE + 0xB4)
/* Interrupt status rising edge */
-#define GPIO0_ISR MMIO32(GPIOINTERRPUT_BASE + 0x84)
-#define GPIO2_ISR MMIO32(GPIOINTERRPUT_BASE + 0xA4)
+#define GPIO0_ISR MMIO32(GPIOINTERRUPT_BASE + 0x84)
+#define GPIO2_ISR MMIO32(GPIOINTERRUPT_BASE + 0xA4)
/* Interrupt status falling edge */
-#define GPIO0_ISF MMIO32(GPIOINTERRPUT_BASE + 0x88)
-#define GPIO2_ISF MMIO32(GPIOINTERRPUT_BASE + 0xA8)
+#define GPIO0_ISF MMIO32(GPIOINTERRUPT_BASE + 0x88)
+#define GPIO2_ISF MMIO32(GPIOINTERRUPT_BASE + 0xA8)
/* Interrupt clear */
-#define GPIO0_IC MMIO32(GPIOINTERRPUT_BASE + 0x8C)
-#define GPIO1_IC MMIO32(GPIOINTERRPUT_BASE + 0xAC)
+#define GPIO0_IC MMIO32(GPIOINTERRUPT_BASE + 0x8C)
+#define GPIO1_IC MMIO32(GPIOINTERRUPT_BASE + 0xAC)
/* Overall interrupt status */
-#define GPIO_IS MMIO32(GPIOINTERRPUT_BASE + 0x80)
+#define GPIO_IS MMIO32(GPIOINTERRUPT_BASE + 0x80)
BEGIN_DECLS