From bf87279d4a7622b4827089c0e58dc88a5c083492 Mon Sep 17 00:00:00 2001 From: Mirabellensaft Date: Tue, 21 Feb 2023 16:24:57 +0100 Subject: [PATCH] add uarte draft --- embedded-workshop-book/src/uarte-implementation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/embedded-workshop-book/src/uarte-implementation.md b/embedded-workshop-book/src/uarte-implementation.md index e69de29..596231b 100644 --- a/embedded-workshop-book/src/uarte-implementation.md +++ b/embedded-workshop-book/src/uarte-implementation.md @@ -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. \ No newline at end of file