8.2.11 boot_rww_busy Macro

Check if the read-while-write (RWW) section is busy.

Include

<avr/boot.h>

Prototype

int boot_rww_busy(void);

Remarks

This macro returns 1 if the read-while-write section busy bit is set; 0 otherwise.

Example

#include <avr/boot.h>
int main(void)
{
  while(boot_rww_busy())
    waitRWW();
}