Functions | |
ret_code_t | nrf_dfu_settings_write (nrf_dfu_flash_callback_t callback) |
Function for writing DFU settings to flash. More... | |
ret_code_t | nrf_dfu_settings_init (bool sd_irq_initialized) |
Function for initializing the DFU settings module. More... | |
ret_code_t | nrf_dfu_settings_additional_erase (void) |
Function for erasing additional data in DFU settings. More... | |
Variables | |
nrf_dfu_settings_t | s_dfu_settings |
Global settings. More... | |
ret_code_t nrf_dfu_settings_additional_erase | ( | void | ) |
Function for erasing additional data in DFU settings.
NRF_SUCCESS | Additional data was successfully erased. |
Any | other error code reported by nrf_dfu_flash |
ret_code_t nrf_dfu_settings_init | ( | bool | sd_irq_initialized | ) |
Function for initializing the DFU settings module.
NRF_SUCCESS | If the initialization was successful. |
NRF_ERROR_INTERNAL | If a flash error occurred. |
ret_code_t nrf_dfu_settings_write | ( | nrf_dfu_flash_callback_t | callback | ) |
Function for writing DFU settings to flash.
[in] | callback | Pointer to a function that is called after completing the write operation. |
NRF_SUCCESS | If the write process was successfully initiated. |
NRF_ERROR_INTERNAL | If a flash error occurred. |
nrf_dfu_settings_t s_dfu_settings |
Global settings.