pub fn latch<R>(f: impl FnOnce(&Latch) -> R) -> RAvailable on
gb_pak_rtc and crate feature pak only.Expand description
Snapshot the clock, switch the RAM on, and read it inside f.
The window holds one thing at a time, so f must not reach the save memory
or latch again: the rest of f would look at whatever that left selected.