diff options
-rw-r--r-- | cm3cpp/usart.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cm3cpp/usart.hpp b/cm3cpp/usart.hpp index 68f8bc5..4676490 100644 --- a/cm3cpp/usart.hpp +++ b/cm3cpp/usart.hpp @@ -190,6 +190,8 @@ class Usart auto get_irq() { return static_cast<Interrupt>(_usart_nvic); } + auto get_uart_periph() { return _usart; } + protected: Gpio _rx; Gpio _tx; |