Unlock all flash filesystem partitions
#include <sys/dcmd_f3s.h> #define DCMD_F3S_UNLOCKALL __DIOT(_DCMD_F3S, F3S_UNLOCKALL, f3s_arrayunlock_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_UNLOCKALL |
dev_data_ptr | A pointer to a f3s_arrayunlock_t structure |
n_bytes | sizeof(f3s_arrayunlock_t) |
dev_info_ptr | NULL |
This command unlocks all the partitions in a flash filesystem.
A f3s_arrayunlock_t structure:
typedef struct f3s_arrayunlock_s { uint32_t status; /* unlock status */ } f3s_arrayunlock_t;
None.