#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
|
enum | iap_err {
iap_cmd_success = 0
, iap_invalid_command
, iap_src_addr_error
, iap_dst_addr_error
,
iap_src_addr_not_mapped
, iap_dst_addr_not_mapped
, iap_count_error
, iap_invalid_sector
,
iap_sector_not_blank
, iap_sector_not_prepared_for_write
, iap_compare_error
, iap_busy
,
iap_param_error
, iap_addr_error
, iap_addr_not_mapped
, iap_cmd_locked
,
iap_invalid_code
, iap_invalid_baud_rate
, iap_invalid_stop_bit
, iap_code_read_protection_enabled
} |
|
◆ iap_err
Enumerator |
---|
iap_cmd_success | |
iap_invalid_command | |
iap_src_addr_error | |
iap_dst_addr_error | |
iap_src_addr_not_mapped | |
iap_dst_addr_not_mapped | |
iap_count_error | |
iap_invalid_sector | |
iap_sector_not_blank | |
iap_sector_not_prepared_for_write | |
iap_compare_error | |
iap_busy | |
iap_param_error | |
iap_addr_error | |
iap_addr_not_mapped | |
iap_cmd_locked | |
iap_invalid_code | |
iap_invalid_baud_rate | |
iap_invalid_stop_bit | |
iap_code_read_protection_enabled | |
◆ lpc17_iap_blank_check()
enum iap_err lpc17_iap_blank_check |
( |
uint8_t | start_sector, |
|
|
uint8_t | end_sector ) |
◆ lpc17_iap_copy_ram_flash()
enum iap_err lpc17_iap_copy_ram_flash |
( |
const uint32_t * | src_ram, |
|
|
const uint32_t * | dest_flash, |
|
|
size_t | len, |
|
|
uint32_t | cpu_clk_khz ) |
◆ lpc17_iap_erase_sectors()
enum iap_err lpc17_iap_erase_sectors |
( |
uint8_t | start_sector, |
|
|
uint8_t | end_sector, |
|
|
uint32_t | cpu_clk_khz ) |
◆ lpc17_iap_prepare_sectors()
enum iap_err lpc17_iap_prepare_sectors |
( |
uint8_t | start_sector, |
|
|
uint8_t | end_sector ) |