2019-03-01 12:36:58 -08:00
|
|
|
// This file is autogenerated by VESC Tool
|
|
|
|
|
|
|
|
#ifndef CONFGENERATOR_H_
|
|
|
|
#define CONFGENERATOR_H_
|
|
|
|
|
|
|
|
#include "datatypes.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
// Constants
|
2024-02-22 23:13:56 -08:00
|
|
|
#define MCCONF_SIGNATURE 2203851240
|
2023-06-19 04:58:22 -07:00
|
|
|
#define APPCONF_SIGNATURE 2099347128
|
2019-03-01 12:36:58 -08:00
|
|
|
|
|
|
|
// Functions
|
|
|
|
int32_t confgenerator_serialize_mcconf(uint8_t *buffer, const mc_configuration *conf);
|
|
|
|
int32_t confgenerator_serialize_appconf(uint8_t *buffer, const app_configuration *conf);
|
|
|
|
|
|
|
|
bool confgenerator_deserialize_mcconf(const uint8_t *buffer, mc_configuration *conf);
|
|
|
|
bool confgenerator_deserialize_appconf(const uint8_t *buffer, app_configuration *conf);
|
|
|
|
|
|
|
|
void confgenerator_set_defaults_mcconf(mc_configuration *conf);
|
|
|
|
void confgenerator_set_defaults_appconf(app_configuration *conf);
|
|
|
|
|
|
|
|
// CONFGENERATOR_H_
|
|
|
|
#endif
|