Store user parameters in Flash macros and prototypes. More...
#include "stm32f10x_flash.h"
Go to the source code of this file.
Data Structures | |
struct | _user_param |
Macros | |
#define | FLASH_SUCCESS 1 |
#define | FLASH_ERROR_WRITE (-1) |
#define | FLASH_ERROR_WRITE_LIMIT (-2) |
#define | FLASH_ERROR_ERASE (-3) |
#define | FLASH_ERROR_ERASE_LIMIT (-4) |
#define | FLASH_ERROR (-5) |
#define | USER_PARAM_WORDS 8 |
Typedefs | |
typedef struct _user_param | user_param |
Functions | |
user_param * | vexFlashUserParamRead (void) |
Read user parameters. More... | |
int16_t | vexFlashUserParamWrite (user_param *u) |
write user parameters More... | |
int16_t | vexFlashUserParamInit (void) |
Init user parameters. More... | |
Store user parameters in Flash macros and prototypes.
#define FLASH_SUCCESS 1 |
#define FLASH_ERROR_WRITE (-1) |
#define FLASH_ERROR_WRITE_LIMIT (-2) |
#define FLASH_ERROR_ERASE (-3) |
#define FLASH_ERROR_ERASE_LIMIT (-4) |
#define FLASH_ERROR (-5) |
#define USER_PARAM_WORDS 8 |
typedef struct _user_param user_param |
user_param* vexFlashUserParamRead | ( | void | ) |
Read user parameters.
int16_t vexFlashUserParamWrite | ( | user_param * | u) |
write user parameters
[in] | u | Pointer to user_param structure |
int16_t vexFlashUserParamInit | ( | void | ) |
Init user parameters.