forked from vedderb/bldc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfgenerator.h
More file actions
25 lines (18 loc) · 772 Bytes
/
confgenerator.h
File metadata and controls
25 lines (18 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// This file is autogenerated by VESC Tool
#ifndef CONFGENERATOR_H_
#define CONFGENERATOR_H_
#include "datatypes.h"
#include <stdint.h>
#include <stdbool.h>
// Constants
#define MCCONF_SIGNATURE 2217312675
#define APPCONF_SIGNATURE 2551442059
// 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