rfLPC
A low level library for using NXP's LPC17xx SoC. Config is given for MBED prototyping board
|
In-Application programming functions This file defines functions to acces the flash memory interface. More...
Go to the source code of this file.
Functions | |
int | rflpc_iap_get_serial_number (unsigned long result[4]) |
Gets the flash serial number. More... | |
void * | rflpc_iap_get_address_from_sector (int sector) |
Flash memory sector-address mapping. More... | |
int | rflpc_iap_get_sector_from_address (const void *address) |
Flash memory address-sector mapping. More... | |
int | rflpc_iap_prepare_sectors_for_writing (int start_sector, int end_sector) |
Prepare sectors for a writing operation (write/erase). More... | |
int | rflpc_iap_erase_sectors (int start_sector, int end_sector) |
Erase Flash sectors. More... | |
int | rflpc_iap_copy_ram_to_flash (const void *destination, const void *source, int length) |
Copy RAM to Flash. More... | |
int | rflpc_iap_write_buffer_to_sector (const void *buffer, int sector_number) |
Copy a 4k buffer to Flash. More... | |
int | rflpc_iap_write_to_sector (const void *destination, const void *buffer, int length) |
Copy a buffer <= 4K to Flash. More... | |
int | rflpc_iap_write_buffer (const void *destination, const void *buffer, int length) |
Copy a buffer to Flash. More... | |
int | rflpc_iap_transfert_4ks_to_32k (const void *destination32k, const void *source4ks, int length) |
Transfer memory from the 4k sectors to one 32k sector. More... | |
In-Application programming functions This file defines functions to acces the flash memory interface.
Definition in file iap.h.