nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ bm_zms_clear()

int bm_zms_clear ( struct bm_zms_fs * fs)

#include <bm_zms.h>

Clear the BM_ZMS file system from device. The BM_ZMS file system must be re-mounted after this operation.

Note
Once the clear operation is completed, a BM_ZMS_EVT_CLEAR event will be propagated to the configured event handler.
Parameters
fsPointer to the file system.
Return values
0if the clear operation is queued successfully.
-EFAULTif fs is NULL.
-EACCESif fs is not mounted.
-EIOif there is an internal error.