29 #ifndef __RFLPC_IAP_H__
30 #define __RFLPC_IAP_H__
34 #ifdef RFLPC_CONFIG_ENABLE_IAP
int rflpc_iap_write_buffer(const void *destination, const void *buffer, int length)
Copy a buffer to Flash.
int rflpc_iap_write_to_sector(const void *destination, const void *buffer, int length)
Copy a buffer <= 4K to Flash.
int rflpc_iap_write_buffer_to_sector(const void *buffer, int sector_number)
Copy a 4k buffer to Flash.
int rflpc_iap_prepare_sectors_for_writing(int start_sector, int end_sector)
Prepare sectors for a writing operation (write/erase).
int rflpc_iap_get_sector_from_address(const void *address)
Flash memory address-sector mapping.
int rflpc_iap_copy_ram_to_flash(const void *destination, const void *source, int length)
Copy RAM to Flash.
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.
int rflpc_iap_erase_sectors(int start_sector, int end_sector)
Erase Flash sectors.
void * rflpc_iap_get_address_from_sector(int sector)
Flash memory sector-address mapping.
int rflpc_iap_get_serial_number(unsigned long result[4])
Gets the flash serial number.