Functions | |
| void | cmd_indivdual (void) |
| Command processing when independently controlling motors ;独立控制电机时的命令处理 More... | |
| void | enable_all_motor (void) |
| Enable all motors ;使能所有电机 More... | |
| void | disable_all_motor (void) |
| Disable all motors ;禁用所有电机 More... | |
| void | cmd_all (void) |
| Command processing when all motors are enabled ;所有电机使能时的命令处理 More... | |
| void | process_cmd (void) |
| Command processing:handling commands sent by the upper computer ;命令处理:处理上位机发送的命令 More... | |
Variables | |
| uint8_t | op_mode [4] = {0} |
| uint8_t | control_word [4] = {0} |
| static uint8_t | op_mode_old [4] = {0} |
| static uint8_t | control_word_old [4] = {0} |
| uint8_t | control_word_all |
| uint8_t | op_mode_all |
| static uint8_t | control_word_all_old |
| static uint8_t | op_mode_all_old |
| void cmd_all | ( | void | ) |
Command processing when all motors are enabled ;所有电机使能时的命令处理
| void cmd_indivdual | ( | void | ) |
Command processing when independently controlling motors ;独立控制电机时的命令处理
| void disable_all_motor | ( | void | ) |
Disable all motors ;禁用所有电机
| void enable_all_motor | ( | void | ) |
Enable all motors ;使能所有电机
| void process_cmd | ( | void | ) |
Command processing:handling commands sent by the upper computer ;命令处理:处理上位机发送的命令
| uint8_t control_word[4] = {0} |
| uint8_t control_word_all |
|
static |
|
static |
| uint8_t op_mode[4] = {0} |
| uint8_t op_mode_all |
|
static |
|
static |