Go to the source code of this file.
Functions | |
void | F_EthernetTask (void) |
void | F_EthernetTaskInit (void) |
Variables | |
ETHERNETTASK_CONTROL | EthernetTaskCtrl |
OS_STK | EthernetTaskStack [ETHERNET_TASK_STACK_SIZE] |
void F_EthernetTask | ( | void | ) |
Definition at line 21 of file ethernet_task.c.
00021 { 00022 F_EthernetTaskInit(); 00023 while(1){ 00024 #if(OS_TASK_LEVEL_CSW_ENABLE==1) 00025 while(EthernetTaskCtrl.Timer!=0){ 00026 OsYield(); 00027 } 00028 #endif 00029 if(EthernetTaskCtrl.Timer==0){ 00030 EthernetTaskCtrl.Timer=1000; 00031 EthernetTaskCtrl.Signal=1; 00032 } 00033 } 00034 }
void F_EthernetTaskInit | ( | void | ) |
Definition at line 17 of file ethernet_task.c.
00017 { 00018 EthernetTaskCtrl.Timer=2000; 00019 EthernetTaskCtrl.Signal=0; 00020 }
ETHERNETTASK_CONTROL EthernetTaskCtrl |
Definition at line 12 of file ethernet_task.c.
OS_STK EthernetTaskStack[ETHERNET_TASK_STACK_SIZE] |
Definition at line 13 of file ethernet_task.c.