Functions |
|
| ret_code_t | nrf_dfu_settings_write ( dfu_flash_callback_t callback) |
|
Function for writing DFU settings to flash.
More...
|
|
| void | nrf_dfu_settings_init (void) |
|
Function for initializing the DFU settings module.
|
|
Variables |
|
| nrf_dfu_settings_t | s_dfu_settings |
|
Global DFU settings.
More...
|
|
Detailed Description
Function Documentation
| ret_code_t nrf_dfu_settings_write | ( | dfu_flash_callback_t | callback | ) |
Function for writing DFU settings to flash.
- Parameters
-
[in] callback Pointer to a function that is called after completing the write operation.
- Return values
-
NRF_SUCCESS If the write process was successfully initiated. NRF_ERROR_INTERNAL If a flash error occurred.
Variable Documentation
| nrf_dfu_settings_t s_dfu_settings |
Global DFU settings.
- Note
- Using this variable is not thread-safe.