Contiki 3.x
Functions
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. More...
 
StStatus halInternalFlashErase (uint8_t eraseType, uint32_t address)
 Erases a section of flash back to all 0xFFFF. More...
 
StStatus halInternalFlashWrite (uint32_t address, uint16_t *data, uint32_t length)
 Writes a block of words to flash. More...
 
StStatus halInternalCibOptionByteWrite (uint8_t byte, uint8_t data)
 Writes an option byte to the customer information block. More...
 

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.