OpenBIC
OpenSource Bridge-IC
|
#include <shell/shell.h>
Go to the source code of this file.
Functions | |
void | cmd_set_plat_sensor_polling_all (const struct shell *shell, size_t argc, char **argv) |
void | cmd_set_plat_sensor_polling_ubc (const struct shell *shell, size_t argc, char **argv) |
void | cmd_set_plat_sensor_polling_vr (const struct shell *shell, size_t argc, char **argv) |
void | cmd_set_plat_sensor_polling_temp (const struct shell *shell, size_t argc, char **argv) |
void | cmd_get_plat_sensor_polling_all (const struct shell *shell, size_t argc, char **argv) |
void | cmd_get_plat_sensor_polling_ubc (const struct shell *shell, size_t argc, char **argv) |
void | cmd_get_plat_sensor_polling_vr (const struct shell *shell, size_t argc, char **argv) |
void | cmd_get_plat_sensor_polling_temp (const struct shell *shell, size_t argc, char **argv) |
SHELL_STATIC_SUBCMD_SET_CREATE (cmd_set_plat_sensor_polling, SHELL_CMD(all, NULL, "set platform sensor polling all", cmd_set_plat_sensor_polling_all), SHELL_CMD(ubc, NULL, "set platform sensor polling ubc", cmd_set_plat_sensor_polling_ubc), SHELL_CMD(vr, NULL, "set platform sensor polling vr", cmd_set_plat_sensor_polling_vr), SHELL_CMD(temp, NULL, "set platform sensor polling temp", cmd_set_plat_sensor_polling_temp), SHELL_SUBCMD_SET_END) | |
SHELL_STATIC_SUBCMD_SET_CREATE (cmd_get_plat_sensor_polling, SHELL_CMD(all, NULL, "get platform sensor polling all", cmd_get_plat_sensor_polling_all), SHELL_SUBCMD_SET_END) | |
SHELL_STATIC_SUBCMD_SET_CREATE (sub_plat_sensor_polling_cmd, SHELL_CMD(set, &cmd_set_plat_sensor_polling, "set platform sensor polling", NULL), SHELL_CMD(get, &cmd_get_plat_sensor_polling, "get platform sensor polling", NULL), SHELL_SUBCMD_SET_END) | |
SHELL_CMD_REGISTER (set_sensor_polling, &sub_plat_sensor_polling_cmd, "Disable/Enable sensor polling for group of sensors", NULL) | |
void cmd_get_plat_sensor_polling_all | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_get_plat_sensor_polling_temp | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_get_plat_sensor_polling_ubc | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_get_plat_sensor_polling_vr | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_set_plat_sensor_polling_all | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_set_plat_sensor_polling_temp | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_set_plat_sensor_polling_ubc | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void cmd_set_plat_sensor_polling_vr | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
SHELL_CMD_REGISTER | ( | set_sensor_polling | , |
& | sub_plat_sensor_polling_cmd, | ||
"Disable/Enable sensor polling for group of sensors" | , | ||
NULL | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | cmd_get_plat_sensor_polling | , |
SHELL_CMD(all, NULL, "get platform sensor polling all", cmd_get_plat_sensor_polling_all) | , | ||
SHELL_SUBCMD_SET_END | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | cmd_set_plat_sensor_polling | , |
SHELL_CMD(all, NULL, "set platform sensor polling all", cmd_set_plat_sensor_polling_all) | , | ||
SHELL_CMD(ubc, NULL, "set platform sensor polling ubc", cmd_set_plat_sensor_polling_ubc) | , | ||
SHELL_CMD(vr, NULL, "set platform sensor polling vr", cmd_set_plat_sensor_polling_vr) | , | ||
SHELL_CMD(temp, NULL, "set platform sensor polling temp", cmd_set_plat_sensor_polling_temp) | , | ||
SHELL_SUBCMD_SET_END | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_plat_sensor_polling_cmd | , |
SHELL_CMD(set, &cmd_set_plat_sensor_polling, "set platform sensor polling", NULL) | , | ||
SHELL_CMD(get, &cmd_get_plat_sensor_polling, "get platform sensor polling", NULL) | , | ||
SHELL_SUBCMD_SET_END | |||
) |