没搞明白Task_construct()和Task_creat()两个函数分别是什么作用,有没有TI RTOS Kernel API 详细的说明文档?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
没搞明白Task_construct()和Task_creat()两个函数分别是什么作用,有没有TI RTOS Kernel API 详细的说明文档?
Module_create():
The create APIs require a heap to allow dynamic memory allocation of the object. All module create functions require that an Error_Block structure be passed to the creation function.
Module_construct()
The construct APIs must be passed an object structure instead of dynamically allocating the object from a heap. Avoiding dynamic memory allocation helps reduce the code footprint. Most Module_construct() APIs do not require an Error_Block; this also helps reduce the code footprint. Some Module_construct() APIs may allocate memory internally.
很抱歉给您带来的不便!关于TI-RTOS的相关资料您可以在官网进行查看:
官网给出了相关的user guide并对TI-RTOS各个部分给出了简单的说明
http://www.ti.com.cn/tool/cn/ti-rtos
TI-RTOS Kernel SYS/BIOS SYS/BIOS (TI-RTOS Kernel) User’s Guide:http://www.ti.com/lit/pdf/spruex3
另外您也可以通过TI WIKI页面查看,wiki页面的说明是非常有条理的:
http://processors.wiki.ti.com/index.php/TI-RTOS
希望对您有所帮助,谢谢!