00001 /************************************************** 00002 * Task to run in operation 00003 * Function: User command line interface using rs232 00004 * 00005 * File: shell_task.c 00006 * Author: Book Chen 00007 * 2008.08.08 00008 **************************************************** 00009 */ 00010 #include "..\inc\includes.h" 00011 #include "..\tasks\task_includes.h" 00012 #include "..\os_core\os_includes.h" 00013 00014 struct SHELL_TASK_CONTROL ShellTaskCtrl; 00015 void F_ShellTaskInit(void) LargeReentrant{ 00016 F_ShellPowerOnInit(); 00017 ShellTaskCtrl.TaskTimer=5; 00018 } 00019 void F_ShellTask(void) LargeReentrant{ 00020 F_ShellTaskInit(); 00021 while(1){ 00022 F_ShellSvc(); 00023 } 00024 } 00025