3 ms·
This example is attempting to give the low level view of how peripherals can be safely shared between multiple threads https://docs.rust-embedded.org/book/conc
by arlort 3y ago
This example is attempting to give the low level view of how peripherals can be safely shared between multiple threads
https://docs.rust-embedded.org/book/concurrency/index.html?highlight=MY_GPIO#sharing-peripherals https://docs.rust-embedded.org/book/concurrency/index.html?h...
You would definitely hide it behind a function if you need it, but that's not very useful in a guide that wants to teach you what it looks like without the function