mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
Update embedded-workshop-book/src/pac-docs.md
Co-authored-by: Jonathan Pallant <jonathan.pallant@ferrous-systems.com>
This commit is contained in:
parent
ef6f61c62b
commit
3689d0daff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ Note the difference between the struct field `UARTE0` in `Peripherals` and the m
|
|||
|
||||
* `dk_pac/src/lib.rs` defines the singleton peripherals as part of a larger `struct Peripherals`. There are two methods for this struct: `take()` and `steal()`. `take()` assures, that only one instance of this can exist. Hence, it's safe. Note that `take()` is only available with the `critical-section` feature enabled.
|
||||
|
||||
* `dk_pac/src/uarte0.rs` defines a struct that contains all the registers of the `UARTE0` register block. The `enable` field represents the register of the same name.
|
||||
* `dk_pac/src/uarte0.rs` defines a struct that contains all the registers of the `UARTE0` peripheral. The `enable` field represents the register of the same name.
|
||||
|
||||
* `dk_pac/src/uarte0/enable.rs` defines the types associated with this register that you already saw in the docs.
|
||||
|
||||
|
|
Loading…
Reference in a new issue