OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <zephyr.h>
#include "plat_hook.h"
#include "plat_uart_pwrevent_shell.h"
Functions | |
void | cmd_enable_or_disable_uart_pwrevent (const struct shell *shell, size_t argc, char **argv) |
SHELL_STATIC_SUBCMD_SET_CREATE (sub_uart_pwrevent_cmds, SHELL_CMD(enable, NULL, "enable_uart_pwrevent", cmd_enable_or_disable_uart_pwrevent), SHELL_CMD(disable, NULL, "disable_uart_pwrevent", cmd_enable_or_disable_uart_pwrevent), SHELL_SUBCMD_SET_END) | |
SHELL_CMD_REGISTER (uart_pwrevent, &sub_uart_pwrevent_cmds, "uart-pwrevent commands for AG", NULL) | |
void cmd_enable_or_disable_uart_pwrevent | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
SHELL_CMD_REGISTER | ( | uart_pwrevent | , |
& | sub_uart_pwrevent_cmds, | ||
"uart-pwrevent commands for AG" | , | ||
NULL | |||
) |
SHELL_STATIC_SUBCMD_SET_CREATE | ( | sub_uart_pwrevent_cmds | , |
SHELL_CMD(enable, NULL, "enable_uart_pwrevent", cmd_enable_or_disable_uart_pwrevent) | , | ||
SHELL_CMD(disable, NULL, "disable_uart_pwrevent", cmd_enable_or_disable_uart_pwrevent) | , | ||
SHELL_SUBCMD_SET_END | |||
) |