From 7fb9f96855c43867a5a9451c431a42d37e0f3539 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 31 Jan 2022 00:17:52 +0000 Subject: FIXME: platforms: stm32l4: fix all rcc enables, add lptim FIXME: LPTIM should be split out, rcc should squish to earlier, as early as we can with other rcc fixes,post the last dev_v2 merge. --- uart/stm32_uart.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'uart/stm32_uart.h') diff --git a/uart/stm32_uart.h b/uart/stm32_uart.h index 4c2a09d..08f93d1 100644 --- a/uart/stm32_uart.h +++ b/uart/stm32_uart.h @@ -27,6 +27,19 @@ struct STM32_UART_reg_v2_t { volatile uint32_t PRESC; // Gx, L4+, Wx etc }; +struct STM32_UART_reg_lpv1_t { + volatile uint32_t CR1; + volatile uint32_t CR2; + volatile uint32_t CR3; + volatile uint32_t BRR; + uint32_t _1[2]; + volatile uint32_t RQR; + volatile uint32_t ISR; + volatile uint32_t ICR; + volatile uint32_t RDR; + volatile uint32_t TDR; +}; + template class STM32_UART_t : public mmio_ptr { public: -- cgit v1.2.3