diff options
Diffstat (limited to 'uart')
-rw-r--r-- | uart/stm32_uart.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <typename T> class STM32_UART_t : public mmio_ptr<T> { public: |