Store user parameters in Flash. More...
Macros | |
#define | USER_PARAM_PAGE_ADDR 0x0805F000 |
#define | USER_PARAM_INDEX 64 |
#define | USER_PARAM_MAX_WRITE 32 |
#define | RDP_Key ((uint16_t)0x00A5) |
#define | FLASH_KEY1 ((uint32_t)0x45670123) |
#define | FLASH_KEY2 ((uint32_t)0xCDEF89AB) |
Functions | |
user_param * | vexFlashUserParamRead () |
Read user parameters. More... | |
int16_t | vexFlashUserParamWrite (user_param *u) |
write user parameters More... | |
int16_t | vexFlashUserParamInit () |
Init user parameters. More... | |
Store user parameters in Flash.
#define USER_PARAM_PAGE_ADDR 0x0805F000 |
#define USER_PARAM_INDEX 64 |
#define USER_PARAM_MAX_WRITE 32 |
#define RDP_Key ((uint16_t)0x00A5) |
#define FLASH_KEY1 ((uint32_t)0x45670123) |
#define FLASH_KEY2 ((uint32_t)0xCDEF89AB) |
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.