diff options
Diffstat (limited to 'uart/uart.h')
-rw-r--r-- | uart/uart.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uart/uart.h b/uart/uart.h new file mode 100644 index 0000000..ed680ea --- /dev/null +++ b/uart/uart.h @@ -0,0 +1,12 @@ +#pragma once + +#include "stm32_uart.h" + +constexpr STM32_UART_t<STM32_UART_reg_v1_t> USART1{ + 0x40011000, +}; +constexpr STM32_UART_t<STM32_UART_reg_v1_t> USART2{ + 0x40004400, +}; + + |