Contiki 3.x
Functions
ext-flash.h File Reference

Header file for the Sensortag/LaunchPad External Flash Driver. More...

#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

bool ext_flash_open (void)
 Initialize storage driver. More...
 
void ext_flash_close (void)
 Close the storage driver. More...
 
bool ext_flash_read (size_t offset, size_t length, uint8_t *buf)
 Read storage content. More...
 
bool ext_flash_erase (size_t offset, size_t length)
 Erase storage sectors corresponding to the range. More...
 
bool ext_flash_write (size_t offset, size_t length, const uint8_t *buf)
 Write to storage sectors. More...
 
bool ext_flash_test (void)
 Test the flash (power on self-test) More...
 
void ext_flash_init (void)
 Initialise the external flash. More...
 

Detailed Description

Header file for the Sensortag/LaunchPad External Flash Driver.

Definition in file ext-flash.h.