From b09dd739f88b48e2594a07d5c95202aeddb2a952 Mon Sep 17 00:00:00 2001 From: Tanks Transfeld Date: Mon, 20 Mar 2023 15:21:07 +0100 Subject: [PATCH] Update embedded-workshop-book/src/uarte-implementation.md Co-authored-by: Jonathan Pallant --- embedded-workshop-book/src/uarte-implementation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/embedded-workshop-book/src/uarte-implementation.md b/embedded-workshop-book/src/uarte-implementation.md index fae6264..705d95b 100644 --- a/embedded-workshop-book/src/uarte-implementation.md +++ b/embedded-workshop-book/src/uarte-implementation.md @@ -55,7 +55,9 @@ pub struct Uarte { ✅ Create an instance of this struct in `fn init()` with the appropriate pins and configurations. Set the output pin's level to `Level::High`. Note, that the third and fourth pin are each wrapped in an `Option`. -✅ Create an interface to the UARTE1 instance with `uarte::Uarte::new(...)` that you bind to a variable. This instantiating method takes four arguments: +✅ Create a Uarte driver with `hal::uarte::Uarte::new(...)` and bind it to a variable called `uarte` - we will stash this in our own `Uarte` struct later. + +Creating the Uarte driver requires four arguments: * The `UARTE1` instance can be found in the `periph` variable. * Your instance of the `uarte::Pins` struct. * Set parity to `Parity::INCLUDED`