From b9180a81d8a228a0ca4f37aae8e317a9d81fe4c9 Mon Sep 17 00:00:00 2001 From: Roger Light Date: Sun, 16 Dec 2012 10:07:04 +0000 Subject: Fix trivial typo INTERRPUT -> INTERRUPT. --- include/libopencm3/lpc17xx/gpio.h | 22 +++++++++++----------- include/libopencm3/lpc17xx/memorymap.h | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'include/libopencm3') 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 diff --git a/include/libopencm3/lpc17xx/memorymap.h b/include/libopencm3/lpc17xx/memorymap.h index 1114442..cbb2acb 100644 --- a/include/libopencm3/lpc17xx/memorymap.h +++ b/include/libopencm3/lpc17xx/memorymap.h @@ -42,7 +42,7 @@ #define I2C0_BASE (PERIPH_BASE_APB0 + 0x1c000) #define SPI_BASE (PERIPH_BASE_APB0 + 0x20000) #define RTC_BASE (PERIPH_BASE_APB0 + 0x24000) -#define GPIOINTERRPUT_BASE (PERIPH_BASE_APB0 + 0x28000) +#define GPIOINTERRUPT_BASE (PERIPH_BASE_APB0 + 0x28000) #define PINCONNECT_BASE (PERIPH_BASE_APB0 + 0x2c000) #define SSP1_BASE (PERIPH_BASE_APB0 + 0x30000) #define ADC_BASE (PERIPH_BASE_APB0 + 0x34000) -- cgit v1.2.3