Added explicit selection of interrupt driven uart
This commit is contained in:
parent
d8aee7498d
commit
e71d103602
@ -208,7 +208,7 @@ void usartTestUsage()
|
|||||||
void newUartUsage()
|
void newUartUsage()
|
||||||
{
|
{
|
||||||
using config = uart::config<9600, uart::DataBits::EIGHT, uart::Parity::NONE, uart::StopBits::ONE>;
|
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>;
|
using softuart = uart::software<io::P::B1, io::P::B2, config>;
|
||||||
|
|
||||||
uart::uart<uart0> serial;
|
uart::uart<uart0> serial;
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2bbba0fcbd6879fa6ca941cfec19dd2dcc9afd9e
|
Subproject commit fd7e8e72389dbef3738822974393345a7c981730
|
Loading…
Reference in New Issue
Block a user