Contiki 2.5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
platform
netsim
dev
flash.c
Go to the documentation of this file.
1
/**
2
* \file
3
* Functions for reading and writing flash ROM.
4
* \author Adam Dunkels <adam@sics.se>
5
*/
6
7
/* Copyright (c) 2004 Swedish Institute of Computer Science.
8
* All rights reserved.
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, are permitted provided that the following conditions
12
* are met:
13
*
14
* 1. Redistributions of source code must retain the above copyright notice,
15
* this list of conditions and the following disclaimer.
16
* 2. Redistributions in binary form must reproduce the above copyright notice,
17
* this list of conditions and the following disclaimer in the documentation
18
* and/or other materials provided with the distribution.
19
* 3. The name of the author may not be used to endorse or promote products
20
* derived from this software without specific prior written permission.
21
*
22
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
23
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
26
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
28
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
30
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
*
34
* $Id: flash.c,v 1.1 2006/06/17 22:41:36 adamdunkels Exp $
35
*
36
* Author: Adam Dunkels <adam@sics.se>
37
*
38
*/
39
40
41
/*---------------------------------------------------------------------------*/
42
void
43
flash_setup
(
void
)
44
{
45
}
46
/*---------------------------------------------------------------------------*/
47
void
48
flash_done
(
void
)
49
{
50
}
51
/*---------------------------------------------------------------------------*/
52
void
53
flash_clear
(
unsigned
short
*ptr)
54
{
55
}
56
/*---------------------------------------------------------------------------*/
57
void
58
flash_write
(
unsigned
short
*ptr,
unsigned
short
word)
59
{
60
}
61
/*---------------------------------------------------------------------------*/
Generated on Fri Aug 30 2013 12:34:08 for Contiki 2.5 by
1.8.3.1