diff options
| author | Mark Tomlin <[email protected]> | 2024-04-19 21:36:03 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-19 21:36:03 -0400 |
| commit | b03f23ab648ecba0a98d8c39cbda7081b6179701 (patch) | |
| tree | df78de4adb79514c45411b53ed6774029af7d937 /docs | |
| parent | b2f7ce99d6f74383ed104353e284baf5e3e0aeb3 (diff) | |
Update sharing_peripherals.adoc
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/ROOT/pages/sharing_peripherals.adoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/sharing_peripherals.adoc b/docs/modules/ROOT/pages/sharing_peripherals.adoc index fcba0e27b..000a7b1de 100644 --- a/docs/modules/ROOT/pages/sharing_peripherals.adoc +++ b/docs/modules/ROOT/pages/sharing_peripherals.adoc | |||
| @@ -8,6 +8,7 @@ The following examples shows different ways to use the on-board LED on a Raspber | |||
| 8 | 8 | ||
| 9 | Using mutual exclusion is the simplest way to share a peripheral. | 9 | Using mutual exclusion is the simplest way to share a peripheral. |
| 10 | 10 | ||
| 11 | TIP: The depenencies you need to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here]. | ||
| 11 | [,rust] | 12 | [,rust] |
| 12 | ---- | 13 | ---- |
| 13 | use defmt::*; | 14 | use defmt::*; |
| @@ -77,6 +78,7 @@ To indicate that the pin will be set to an Output. The `AnyPin` could have been | |||
| 77 | 78 | ||
| 78 | A channel is another way to ensure exclusive access to a resource. Using a channel is great in the cases where the access can happen at a later point in time, allowing you to enqueue operations and do other things. | 79 | A channel is another way to ensure exclusive access to a resource. Using a channel is great in the cases where the access can happen at a later point in time, allowing you to enqueue operations and do other things. |
| 79 | 80 | ||
| 81 | TIP: The depenencies you need to run this example link:/book/dev/basic_application.html#_the_cargo_toml[can be found here]. | ||
| 80 | [,rust] | 82 | [,rust] |
| 81 | ---- | 83 | ---- |
| 82 | use defmt::*; | 84 | use defmt::*; |
