Module cells

Source
Expand description

The Tock Cell types.

This is a re-export of the tock-cells crate provided for convenience.

To use TakeCell, for example, users should use:

use kernel::utilities::cells::TakeCell;

Structs§

MapCell
A mutable, possibly unset, memory location that provides checked &mut access to its contents via a closure.
OptionalCell
OptionalCell is a Cell that wraps an Option. This is helper type that makes keeping types that can be None a little cleaner.
TakeCell
A shared reference to a mutable reference.
VolatileCell
VolatileCell provides a wrapper around unsafe volatile pointer reads and writes.

Traits§

NumericCellExt