📄 sys_task.h
字号:
#ifdef __cplusplusextern "C"{#endif #ifndef __INC_SYS_TASK_H__#define __INC_SYS_TASK_H__typedef U32 SYS_TASK_T; typedef U32 SYS_TASK_H; AOS_INLINE U32 sys_task_create(S8 name[AOS_NAME_LEN+1], U32 stack_size, TASK_PRIO task_prio, U32 task_mode, VOID(*entry)(VOID*), VOID*arg, SYS_TASK_T *task_id, SYS_TASK_H *task_hd);AOS_INLINE U32 sys_task_cancel(SYS_TASK_H task_hd);AOS_INLINE SYS_TASK_T sys_task_self();AOS_INLINE U32 sys_task_setprio(SYS_TASK_H task_hd, TASK_PRIO task_prio );AOS_INLINE U32 sys_task_lock();AOS_INLINE U32 sys_task_unlock();AOS_INLINE U32 sys_task_delay( U32 timeout );AOS_INLINE U32 sys_task_suspend( SYS_TASK_H task_hd );AOS_INLINE U32 sys_task_resume( SYS_TASK_H task_hd );AOS_INLINE void sys_task_switchhook(WIND_TCB * poldtcb,WIND_TCB * pnewtcb );AOS_INLINE U32 sys_task_status(SYS_TASK_H task_hd, S8 * szStatus);AOS_INLINE BOOL_T sys_task_is_ready(SYS_TASK_H task_hd);AOS_INLINE U32 sys_task_sp(SYS_TASK_H task_hd);AOS_INLINE U32 sys_task_bp(SYS_TASK_H task_hd);AOS_INLINE U32 sys_task_pc(SYS_TASK_H task_hd);AOS_INLINE U32 sys_task_save_id(SYS_TASK_H task_hd, U32 ulTaskID);U32 sys_get_cur_sp();U32 sys_get_cur_fp( );U32 sys_get_cur_pc();#endif#ifdef __cplusplus}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -