Unlock a flash filesystem partition
#include <sys/dcmd_f3s.h> #define DCMD_F3S_UNLOCK __DIOT(_DCMD_F3S, F3S_UNLOCK, f3s_unitunlock_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_F3S_UNLOCK |
dev_data_ptr | A pointer to a f3s_unitunlock_t |
n_bytes | sizeof(f3s_unitunlock_t) |
dev_info_ptr | NULL |
This command unlocks a flash filesystem partition.
A f3s_unitunlock_t structure:
typedef struct f3s_unitunlock_s { uint32_t status; /* unlock status */ uint32_t offset; /* offset of first unit expressed in bytes */ uint32_t limit; /* limit of last unit expressed in bytes */ } f3s_unitunlock_t;
None.