busy_wait

Function busy_wait 

Source
pub fn busy_wait()
Expand description

Wait for the current SPM operation to complete.

On devices with a RWW section, the CPU is not halted during the SPM operation if the RWW section is being written to. Therefore it is important that we make sure the operation is complete before trying to do the next operation.