File syn_motor_output.h¶
File List > motor > syn_motor_output.h
Go to the documentation of this file
#ifndef SYN_MOTOR_OUTPUT_H
#define SYN_MOTOR_OUTPUT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
void (*set_output)(void *ctx, int32_t output);
void (*coast)(void *ctx);
void (*brake)(void *ctx);
void *ctx;
} SYN_MotorOutput;
#ifdef __cplusplus
}
#endif
#endif /* SYN_MOTOR_OUTPUT_H */