導航:首頁 > 源碼編譯 > ostask源碼詳解

ostask源碼詳解

發布時間:2023-09-09 09:50:23

❶ 關於ucos系統中OSTaskCreateExt( )函數的問題。

堆棧檢驗是調用這個函數,看它的返回值
*********************************************************************************************************
* STACK CHECKING
*
* Description: This function is called to check the amount of free memory left on the specified task's
* stack.
*
* Arguments : prio is the task priority
*
* pdata is a pointer to a data structure of type OS_STK_DATA.
*
* Returns : OS_NO_ERR upon success
* OS_PRIO_INVALID if the priority you specify is higher that the maximum allowed
* (i.e. > OS_LOWEST_PRIO) or, you have not specified OS_PRIO_SELF.
* OS_TASK_NOT_EXIST if the desired task has not been created
* OS_TASK_OPT_ERR if you did NOT specified OS_TASK_OPT_STK_CHK when the task was created
*********************************************************************************************************
*/

INT8U OSTaskStkChk (INT8U prio, OS_STK_DATA *pdata)

閱讀全文

與ostask源碼詳解相關的資料

熱點內容
程序員能力關鍵詞 瀏覽:615
plc編程高級視頻教程 瀏覽:610
java遞歸求n 瀏覽:84
python絕對路徑導入 瀏覽:126
nex5g加密 瀏覽:975
18的空島伺服器地址 瀏覽:86
程序員要學什麼硬體 瀏覽:666
股票漲跌源碼怎麼看 瀏覽:576
加密軟體做法 瀏覽:56
美國程序員有多少中國人 瀏覽:739
人民日報app里怎麼看新聞早班車 瀏覽:585
忘了app怎麼辦 瀏覽:530
如何用雲伺服器做雲平台 瀏覽:299
非箍筋加密區剪力 瀏覽:119
利聯科技伺服器卡怎麼辦 瀏覽:386
js和python哪個好 瀏覽:463
c盤的哪些文件夾沒用 瀏覽:83
文件為什麼會超出在線解壓限制 瀏覽:591
python類實例化對象 瀏覽:797
硬碟dos外部命令 瀏覽:794