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
341 B

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