17#ifndef PLAT_SENSOR_POLLING_SHELL_H
18#define PLAT_SENSOR_POLLING_SHELL_H
20#include <shell/shell.h>
33 cmd_set_plat_sensor_polling,
38 SHELL_SUBCMD_SET_END);
41 SHELL_CMD(all, NULL,
"get platform sensor polling all",
43 SHELL_SUBCMD_SET_END);
47 SHELL_CMD(set, &cmd_set_plat_sensor_polling,
48 "set platform sensor polling", NULL),
49 SHELL_CMD(get, &cmd_get_plat_sensor_polling,
50 "get platform sensor polling", NULL),
51 SHELL_SUBCMD_SET_END);
55 "Disable/Enable sensor polling for group of sensors", NULL);
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)
void cmd_set_plat_sensor_polling_all(const struct shell *shell, size_t argc, char **argv)
Definition: plat_sensor_polling_shell.c:22
void cmd_set_plat_sensor_polling_ubc(const struct shell *shell, size_t argc, char **argv)
Definition: plat_sensor_polling_shell.c:44
void cmd_set_plat_sensor_polling_temp(const struct shell *shell, size_t argc, char **argv)
Definition: plat_sensor_polling_shell.c:88
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_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)
Definition: plat_sensor_polling_shell.c:110
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_vr(const struct shell *shell, size_t argc, char **argv)
Definition: plat_sensor_polling_shell.c:66