1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-15 06:51:40 +00:00
MarlinFirmware/Marlin/src/HAL/persistent_store_api.h

19 lines
402 B
C
Raw Normal View History

#ifndef _PERSISTENT_STORE_H_
#define _PERSISTENT_STORE_H_
#include <stddef.h>
#include <stdint.h>
namespace HAL {
namespace PersistentStore {
bool access_start();
bool access_finish();
bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc);
2017-10-06 20:13:43 +00:00
void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc);
2017-09-06 11:28:32 +00:00
} // PersistentStore
} // HAL
2017-09-06 11:28:32 +00:00
#endif // _PERSISTENT_STORE_H_