diff options
author | MrDimLis <mrlisdim@gmail.com> | 2019-12-03 00:47:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-03 00:47:17 +0300 |
commit | 97eef7076dc8a4643960e77d0cabc533cc0ee087 (patch) | |
tree | d4d94fedea083dc7788d7cc0999af903d22503e1 | |
parent | ac710c13cc1e38174ab53d965289ee8d4bfedc2e (diff) | |
parent | 7bece45ec00fb64c7c392ff68c2465b0e2cf7a9d (diff) |
Merge pull request #11 from thirdpin/feature/add_ll_usart_access
[usart] Add access to LL usart periph address
-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; |