#include <kernel.h>
#include <gpio.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
command | xsh_reset (ushort stdin, ushort stdout, ushort stderr, ushort nargs, char *args[]) |
Definition in file xsh_reset.c.
Shell command (reset) performs a soft restart of the router.
stdin | descriptor of input device | |
stdout | descriptor of output device | |
stderr | descriptor of error device | |
nargs | number of arguments in args array | |
args | array of arguments |
Definition at line 23 of file xsh_reset.c.
References fprintf(), GPIO_BASE, GPIO_BUT_RESET, gpio_csreg::input, OK, strncmp(), and SYSERR.