nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

This file contains the source code for a sample application using the Flash Write Application. More...

Functions

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.
 

Detailed Description

example_board_setup_a.jpg
Use board setup A for this example.

Function Documentation

static void init ( void  )
static
static void flash_page_erase ( uint32_t *  page_address)
static
Parameters
page_addressAddress of the first word in the page to be erased.
static void flash_word_write ( uint32_t *  address,
uint32_t  value 
)
static
Parameters
[in]addressAddress of the first word in the page to be filled.
[in]valueValue to be written to flash.