You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
295 B

12 months ago
12 months ago
12 months ago
  1. #pragma once
  2. #include <stdint.h>
  3. #include "stm32basic/zsdk.hpp"
  4. typedef struct {
  5. uint32_t configMark;
  6. uint32_t placeHolder;
  7. uint32_t checksum; //
  8. } config_t;
  9. void config_init(void);
  10. config_t* config_get(void);
  11. void config_flush(void);
  12. void config_factory_reset(void);