|
Contiki 3.x
|
Functions | |
| boolean | halFlashEraseIsActive (void) |
| Tells the calling code if a Flash Erase operation is active. More... | |
Hardware documentation indicates 40us for a write and 21ms for an erase.
See flash.h for source code.
| boolean halFlashEraseIsActive | ( | void | ) |
Tells the calling code if a Flash Erase operation is active.
This state is import to know because Flash Erasing is ATOMIC for 21ms and could disrupt interrupt latency. But if an ISR can know that it wasn't serviced immediately due to Flash Erasing, then the ISR has the opportunity to correct in whatever manner it needs to.
1.8.6