基于NIOS II的uC/OS系統(tǒng)的開發(fā)
作者:
時(shí)間:2016-09-12
來源:網(wǎng)絡(luò)
收藏
* === FUNCTION ======================================================================
* Name: initCreateTasks
* Description:
* =====================================================================================
*/
int
initCreateTasks(
void
)
{
INT8U return_code = OS_NO_ERR;
return_code = OSTaskCreateExt(ds1302_task,
NULL,
(
void
*)ds1302_task_stk[TASK_STACKSIZE],
DS1302_TASK_PRIORITY,
DS1302_TASK_PRIORITY,
ds1302_task_stk,
TASK_STACKSIZE,
NULL,
0);
return_code = OSTaskCreateExt(led_task,
NULL,
(
void
*)led_task_stk[TASK_STACKSIZE],
評(píng)論