diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 23:09:31 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2020-11-21 23:09:31 -0700 |
commit | a922e19f41e25a4b9c77e95c6b5d736609dfb9f5 (patch) | |
tree | bf7e537a001b5ac91d94ab2c0ea870efd3551d99 /02-usart/include/arch/arm/arch.h | |
parent | 822c68c74ebc3ac3694f87d516f1e91f2ce1d0fe (diff) | |
download | stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.tar.gz stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.tar.bz2 stm32l4-a922e19f41e25a4b9c77e95c6b5d736609dfb9f5.zip |
Add the spi headers that define the SPI structure.
Diffstat (limited to '02-usart/include/arch/arm/arch.h')
-rw-r--r-- | 02-usart/include/arch/arm/arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/02-usart/include/arch/arm/arch.h b/02-usart/include/arch/arm/arch.h index f140c97..42b33bb 100644 --- a/02-usart/include/arch/arm/arch.h +++ b/02-usart/include/arch/arm/arch.h @@ -28,6 +28,9 @@ #define NVIC_BASE (0xE000E004) #define RCC_BASE (0x40021000) +#define SPI1_BASE (0x40013000) +#define SPI3_BASE (0x40003C00) + #include <stdint.h> #ifndef DRY_RUN _Static_assert(sizeof(void*) == sizeof(uint32_t), "Pointers must be 32 bits"); |