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.

41 lines
705 B

#pragma once
#include <stdint.h>
namespace iflytop {
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t s8;
typedef int16_t s16;
typedef int32_t s32;
typedef int64_t s64;
typedef float f32;
typedef double f64;
typedef enum {
kset_cmd_type_read = 0,
kset_cmd_type_set = 1,
} SetCmdOperationType_t;
typedef enum {
kMotorStopType_stop = 0,
kMotorStopType_break = 1,
} MotorStopType_t;
typedef enum {
kmodule_statu_idle,
kmodule_statu_work,
kmodule_statu_exception,
} module_statu_type_t;
#ifndef ZSTRUCT
#define ZSTRUCT(name, ...) \
typedef struct { \
__VA_ARGS__ \
} name;
#endif
} // namespace iflytop