flash.c File Reference

Implements the generic flash manipulation routines. More...

#include "error.h"
#include "hal/micro/cortexm3/bootloader/fib-bootloader.h"
#include "hal/micro/cortexm3/mpu.h"
#include "memmap.h"
#include "flash.h"

Go to the source code of this file.

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

Implements the generic flash manipulation routines.

The file 'flash-sw-spec.txt' should provide *all* the information needed to understand and work with the FLITF and flash.

Definition in file flash.c.


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1