#include <string.h>
#include <breezystm32.h>
#include "flash.h"
Go to the source code of this file.
static uint8_t compute_checksum |
( |
const void * |
addr, |
|
|
size_t |
len |
|
) |
| |
|
static |
Initialize Flash.
Definition at line 37 of file flash.c.
bool readEEPROM |
( |
void * |
dest, |
|
|
size_t |
len |
|
) |
| |
Read data from Flash.
- Parameters
-
dest | The memory address to copy the data to |
len | The number of bytes to copy |
- Returns
- true if the read was successful, false otherwise
Definition at line 54 of file flash.c.
bool writeEEPROM |
( |
const void * |
src, |
|
|
size_t |
len |
|
) |
| |
Write data to Flash.
- Parameters
-
src | The memory address to copy data from |
len | The number of bytes to copy |
- Returns
- true if the write was successful, false otherwise
Definition at line 60 of file flash.c.