stm32f4: fix i2s_ext register addresses

Registers were swapped.

Fixes #465
This commit is contained in:
Karl Palsson 2015-06-22 01:11:50 +00:00
parent 3a106dbd10
commit a4bb8f7e24

View File

@ -48,10 +48,10 @@
#define RTC_BASE (PERIPH_BASE_APB1 + 0x2800) #define RTC_BASE (PERIPH_BASE_APB1 + 0x2800)
#define WWDG_BASE (PERIPH_BASE_APB1 + 0x2c00) #define WWDG_BASE (PERIPH_BASE_APB1 + 0x2c00)
#define IWDG_BASE (PERIPH_BASE_APB1 + 0x3000) #define IWDG_BASE (PERIPH_BASE_APB1 + 0x3000)
#define I2S3_EXT_BASE (PERIPH_BASE_APB1 + 0x3400) #define I2S2_EXT_BASE (PERIPH_BASE_APB1 + 0x3400)
#define SPI2_BASE (PERIPH_BASE_APB1 + 0x3800) #define SPI2_BASE (PERIPH_BASE_APB1 + 0x3800)
#define SPI3_BASE (PERIPH_BASE_APB1 + 0x3c00) #define SPI3_BASE (PERIPH_BASE_APB1 + 0x3c00)
#define I2S2_EXT_BASE (PERIPH_BASE_APB1 + 0x4000) #define I2S3_EXT_BASE (PERIPH_BASE_APB1 + 0x4000)
#define USART2_BASE (PERIPH_BASE_APB1 + 0x4400) #define USART2_BASE (PERIPH_BASE_APB1 + 0x4400)
#define USART3_BASE (PERIPH_BASE_APB1 + 0x4800) #define USART3_BASE (PERIPH_BASE_APB1 + 0x4800)
#define UART4_BASE (PERIPH_BASE_APB1 + 0x4c00) #define UART4_BASE (PERIPH_BASE_APB1 + 0x4c00)