pub struct RetentionMemory<const SIZE: usize> { /* private fields */ }Available on crate feature
unstable only.Expand description
Memory that the hardware writes while a power domain has no power.
The hardware writes this memory, so the type gives no way to read or write its contents through safe Rust.
The memory must be in internal RAM that stays powered across light sleep. The
#[ram(reclaimed)] attribute places a static inside the range that the
retention DMA reaches, on chips that use the retention DMA.
§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.