Create a “fake” module inside of
common for all of the Tock
TakeCell, for example, users should use:
- A mutable, possibly unset, memory location that provides checked
&mutaccess to its contents via a closure.
Cellthat wraps an
Option. This is helper type that makes keeping types that can be
Nonea little cleaner.
- A shared reference to a mutable reference.
VolatileCellprovides a wrapper around unsafe volatile pointer reads and writes. This is particularly useful for accessing microcontroller registers by (unsafely) casting a pointer to the register into a