stm32/usart: expose all functionality as inherent methods.

This commit is contained in:
Dario Nieuwenhuis
2022-01-14 22:43:40 +01:00
parent 98f24bf819
commit c949519714
13 changed files with 49 additions and 40 deletions

View File

@ -10,7 +10,6 @@ use example_common::*;
use embassy::executor::Spawner;
use embassy_stm32::usart::{Config, Uart};
use embassy_stm32::Peripherals;
use embassy_traits::uart::{Read, Write};
#[embassy::main]
async fn main(_spawner: Spawner, p: Peripherals) {