This file contains the source code for a sample application using the Flash Write Application.
More...
|
static void | init (void) |
| Function for configuring pins 0-7 as inputs and 8-15 as outputs. More...
|
|
static void | flash_page_erase (uint32_t *page_address) |
| Function for erasing a page in flash. More...
|
|
static void | flash_word_write (uint32_t *address, uint32_t value) |
| Function for filling a page in flash with a value. More...
|
|
int | main (void) |
| Function for application main entry.
|
|
Use board setup A for this example.
static void init |
( |
void |
| ) |
|
|
static |
static void flash_page_erase |
( |
uint32_t * |
page_address | ) |
|
|
static |
- Parameters
-
page_address | Address of the first word in the page to be erased. |
static void flash_word_write |
( |
uint32_t * |
address, |
|
|
uint32_t |
value |
|
) |
| |
|
static |
- Parameters
-
[in] | address | Address of the first word in the page to be filled. |
[in] | value | Value to be written to flash. |