Implement HAL and apply macros across code-base
Implement AVR Platform
This commit is contained in:
committed by
Scott Lahteine
parent
fb04dfcda8
commit
4b16fa3272
19
Marlin/src/HAL/persistent_store_api.h
Normal file
19
Marlin/src/HAL/persistent_store_api.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
void read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc) ;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif /* _PERSISTANT_STORE_H_ */
|
||||
Reference in New Issue
Block a user