embkernel
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Groups
Pages
DRIVERS
port
cm4
st
stm32f4xx
DrvFlash.hpp
1
//------------------------------------------------------------------------------
2
//This file is part of embKernel.
3
//See license.txt for the full license governing this code.
4
//------------------------------------------------------------------------------
5
6
#ifndef DRV_FLASH_HPP_
7
#define DRV_FLASH_HPP_
8
9
#include <stddef.h>
10
11
class
DrvFlash {
12
public
:
13
static
void
unlock();
14
static
void
lock();
15
static
bool
erasePage(
unsigned
int
page);
16
static
bool
write(
const
void
* dst,
const
void
* src,
size_t
len);
17
private
:
18
static
bool
waitActionComplete();
19
};
20
21
#endif
/* DRV_FLASH_HPP_ */
Generated on Sun May 12 2013 23:28:50 for embkernel by
1.8.3.1