Go to the source code of this file.
Functions | |
void | F_ShellPowerOnInit (void) |
void | F_ShellSvc (void) |
void | F_ShellKeyPut (INT8U Data) LargeReentrant |
Variables | |
INT8U code | info [5] = {'i','n','f','o',0} |
INT8U code | ls [3] = {'l','s',0} |
INT8U code | motor [6] = {'m','o','t','o','r',0} |
INT8U code | rtc [4] = {'r','t','c',0} |
INT8U code | lcm [4] = {'l','c','m',0} |
INT8U code * | ShellCommand [SHELL_COMMAND_MAX] = {info,ls,motor,rtc,lcm} |
struct SHELL_CONTROL | ShellCtrl |
void F_ShellKeyPut | ( | INT8U | Data | ) |
Definition at line 162 of file shell.c.
References SHELL_CONTROL::Data, SHELL_CONTROL::Put, and ShellCtrl.
Referenced by F_ShellSvc().
void F_ShellPowerOnInit | ( | void | ) |
Definition at line 40 of file shell.c.
References SHELL_CONTROL::Argc, SHELL_CONTROL::Put, ShellCtrl, and SHELL_CONTROL::State.
Referenced by F_SysPowerOnInit().
void F_ShellSvc | ( | void | ) |
Definition at line 49 of file shell.c.
References SHELL_CONTROL::Argc, SHELL_CONTROL::Command, SHELL_CONTROL::Data, F_MotorCommandSet(), F_RtcCommandSet(), F_ShellKeyPut(), F_UartCheckKeyInBuffer(), F_UartKeyInGet(), SHELL_CONTROL::pArgv, SHELL_CONTROL::Put, ShellCommand, ShellCtrl, and SHELL_CONTROL::State.
Referenced by F_SysPowerOnInit().
struct SHELL_CONTROL ShellCtrl |
Definition at line 38 of file shell.c.
Referenced by F_ShellKeyPut(), F_ShellPowerOnInit(), F_ShellSvc(), and IsrTimer0().