Added explicit selection of interrupt driven uart

This commit is contained in:
BlackMark 2019-07-28 14:09:52 +02:00
parent d8aee7498d
commit e71d103602
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ void usartTestUsage()
void newUartUsage()
{
using config = uart::config<9600, uart::DataBits::EIGHT, uart::Parity::NONE, uart::StopBits::ONE>;
using uart0 = uart::hardware0<uart::Mode::ASYNCHRONOUS, config>;
using uart0 = uart::hardware0<uart::Mode::ASYNCHRONOUS, config, uart::Driven::INTERRUPT>;
using softuart = uart::software<io::P::B1, io::P::B2, config>;
uart::uart<uart0> serial;

@ -1 +1 @@
Subproject commit 2bbba0fcbd6879fa6ca941cfec19dd2dcc9afd9e
Subproject commit fd7e8e72389dbef3738822974393345a7c981730