function_block
common_get_motor(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_motor_response *r)
common_set_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor, int8_t reg_v)
common_invert_motor(struct function_block *fb, int fd, bool debug, int a_module, char a_motor)
common_bridge_motor(struct function_block *fb, int fd, bool debug, int a_module)
common_enable_disable(struct function_block *fb, int fd, bool debug, int subcmd)
common_control_1(struct function_block *fb, int fd, bool debug, int subcmd)
common_get_update_rate(struct function_block *fb, int fd, bool debug, uint8_t *rate)
common_set_update_rate(struct function_block *fb, int fd, bool debug, uint8_t rate)
common_force_update(struct function_block *fb, int fd, bool debug)
common_get_ebus_speed(struct function_block *fb, int fd, bool debug, uint8_t *speed)
common_set_ebus_speed(struct function_block *fb, int fd, bool debug, uint8_t speed)
common_get_lock_state(struct function_block *fb, int fd, bool debug, int ltype, uint8_t *lstate)
common_set_lock_state(struct function_block *fb, int fd, bool debug, int ltype, uint8_t lstate)
int common_clear(struct function_block *fb, int fd, bool debug)
common_identify(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_identify_response *r)
int common_diag(struct function_block *fb, int fd, bool debug, int a_module, struct scmd_diag_response *r)
EXTERN int common_clear(struct function_block *, int, bool);
EXTERN int common_identify(struct function_block *, int, bool, int, struct scmd_identify_response *);
EXTERN int common_diag(struct function_block *, int, bool, int, struct scmd_diag_response *);
EXTERN int common_get_motor(struct function_block *, int, bool, int, struct scmd_motor_response *);
EXTERN int common_set_motor(struct function_block *, int, bool, int, char, int8_t);
EXTERN int common_invert_motor(struct function_block *, int, bool, int, char);
EXTERN int common_bridge_motor(struct function_block *, int, bool, int);
EXTERN int common_enable_disable(struct function_block *, int, bool, int);
EXTERN int common_control_1(struct function_block *, int, bool, int);
EXTERN int common_get_update_rate(struct function_block *, int, bool, uint8_t *);
EXTERN int common_set_update_rate(struct function_block *, int, bool, uint8_t);
EXTERN int common_force_update(struct function_block *, int, bool);
EXTERN int common_get_ebus_speed(struct function_block *, int, bool, uint8_t *);
EXTERN int common_set_ebus_speed(struct function_block *, int, bool, uint8_t);
EXTERN int common_get_lock_state(struct function_block *, int, bool, int, uint8_t *);
EXTERN int common_set_lock_state(struct function_block *, int, bool, int, uint8_t);
struct function_block func_block;