Contiki 2.6

flash.h File Reference

Header for flash for APIs. More...

#include "memmap.h"

Go to the source code of this file.

Defines

#define MFB_MASS_ERASE   0x01
 Assign numerical value to the type of erasure requested.

Functions

boolean halFlashEraseIsActive (void)
 Tells the calling code if a Flash Erase operation is active.
StStatus halInternalFlashErase (int8u eraseType, int32u address)
 Erases a section of flash back to all 0xFFFF.
StStatus halInternalFlashWrite (int32u address, int16u *data, int32u length)
 Writes a block of words to flash.
StStatus halInternalCibOptionByteWrite (int8u byte, int8u data)
 Writes an option byte to the customer information block.

Detailed Description

Header for flash for APIs.

Definition in file flash.h.