From edfce5a5bfbe14d568ef706c8a8ecc8ca3a6a808 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 12 Jan 2022 21:53:23 +0000 Subject: stm32l4: add basic platform file While checking STM32WB, this was easy enough to just transcribe while working. Untested on real hardware. Signed-off-by: Karl Palsson --- exti/stm32_exti.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'exti') diff --git a/exti/stm32_exti.h b/exti/stm32_exti.h index 525a483..f15c0a1 100644 --- a/exti/stm32_exti.h +++ b/exti/stm32_exti.h @@ -2,6 +2,21 @@ #include +struct STM32_EXTI_reg_l4_t { + volatile uint32_t IMR1; + volatile uint32_t EMR1; + volatile uint32_t RTSR1; + volatile uint32_t FTSR1; + volatile uint32_t SWIER1; + volatile uint32_t PR1; + volatile uint32_t IMR2; + volatile uint32_t EMR2; + volatile uint32_t RTSR2; + volatile uint32_t FTSR2; + volatile uint32_t SWIER2; + volatile uint32_t PR2; +}; + struct STM32_EXTI_reg_wb_t { volatile uint32_t RTSR1; volatile uint32_t FTSR1; -- cgit v1.2.3