#ifndef DEVICE_DRIVE_H
#define DEVICE_DRIVE_H

typedef struct device_drive_ops_s {
    const char *name;
    void (*stop)(void);
    /** mode 1~4：仅用 speed_val；mode 5~8（1102）：speed_val + steer_val */
    void (*control)(int mode, int speed_val, int steer_val);
    void (*shot)(int pin, int val);
} device_drive_ops_t;

#endif
