|
OpenBIC
OpenSource Bridge-IC
|
#include "power_shell.h"#include "power_status.h"#include "util_sys.h"#include "hal_gpio.h"#include <stdio.h>#include <zephyr.h>#include <string.h>
Functions | |
| int | check_pwr_ctl_valid (const struct shell *shell, uint8_t ctl_opt, uint8_t pwr_state) |
| void | cmd_power_status (const struct shell *shell, size_t argc, char **argv) |
| void | cmd_power_control (const struct shell *shell, size_t argc, char **argv) |
| int check_pwr_ctl_valid | ( | const struct shell * | shell, |
| uint8_t | ctl_opt, | ||
| uint8_t | pwr_state | ||
| ) |
| void cmd_power_control | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |
| void cmd_power_status | ( | const struct shell * | shell, |
| size_t | argc, | ||
| char ** | argv | ||
| ) |