mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
add uarte draft
This commit is contained in:
parent
c1825d1185
commit
bf87279d4a
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
# Write the Uarte implementation
|
||||
## Step-by-Step Solution
|
||||
* add field to the board struct
|
||||
* add struct for the instance, how to figure out what the type of the inner field is
|
||||
* create instance in init, add baudrate, parity etc.
|
||||
* add to instantiation of board struct
|
||||
* impl fmt::Write for the Uarte struct, simple write does not work because of dma
|
||||
* example code with button is not a good idea for the simple button implementation.
|
||||
|
||||
I think this is plenty for an hour.
|
Loading…
Reference in a new issue