[][src]Crate cmim

Cortex-M Interrupt Move

It's the next best thing to moving to interrupt context.

The goal

The goal here is to replace usage of a mutex which may require an entire critical section, and instead model "Moving" of data to an interrupt context.

This means that we don't need a critical section to access it, we just need to be in the interrupt we moved the data to.