3.9.1 Module API
Related headers [link]
Name | Description |
---|---|
persist/persist.h | Persistent configuration library |
Members [link]
Types [link]
- struct persist_descriptor_s
- struct persist_rq_s
- enum persist_type_e
- enum persist_state_e
- struct persist_status_s
Functions [link]
- ENUM_DESCRIPTOR(persist_type_e , strip:PERSIST_, upper )
- void persist_context_init(struct persist_context_s *ctx, uintptr_t dev_addr, size_t dev_size, size_t page_size)
- void persist_erase(struct persist_context_s *ctx, struct persist_rq_s *rq)
- void persist_pack(struct persist_context_s *ctx, struct persist_rq_s *rq)
- void persist_read(struct persist_context_s *ctx, struct persist_rq_s *rq)
- void persist_remove(struct persist_context_s *ctx, struct persist_rq_s *rq)
- struct persist_rq_s * persist_rq_s_from_kr(void *x)
- error_t persist_wait_counter_read(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, uint64_t *value)
- error_t persist_wait_erase(struct persist_context_s *ctx)
- error_t persist_wait_inc(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, uint64_t *counter)
- error_t persist_wait_pack(struct persist_context_s *ctx)
- error_t persist_wait_read(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, const void **data)
- error_t persist_wait_remove(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset)
- error_t persist_wait_write(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, const void *data)
- void persist_write(struct persist_context_s *ctx, struct persist_rq_s *rq)
- void persist_sched_init(struct persist_rq_s *rq, struct persist_status_s *status)
- void persist_sched_wait(struct persist_status_s *status)