8.2.16 boot_spm_busy_wait Macro
Wait while the SPM is busy.
Include
<avr/boot.h>
Prototype
int boot_spm_busy_wait(void);
Remarks
This waits until the SPM is not enabled.
Example
#include <avr/boot.h>
int main(void)
{
boot_spm_busy_wait();
}