μC/OS API
API(Application programming interface)应用程序编程接口
注:结合user manual来讲,体验如何通过原始资料获取信息
Kernel structure
OS_ENTER_CRITICAL()
OS_EXIT_CRITICAL()
OSInit()
OSStart()......
Task Management
OSTaskCreate()
OSTaskDel()
OSTaskChangePrio()......
Time Services
OSTimeDly() OSTimeDlyHMSM() OSTimeDlyResume() OSTimeGet() OSTimeSet()
Timer Management
Function Name
Operation
OSTmrCreate() Create and specify
the operating mode of the timer.
OSTmrDel() Delete a
timer.
OSTmrRemainGet() Obtain the remaining
time left before the timer expires.
OSTmrStart() Start (or
restart) a timer.
OSTmrStateGet() Obtain the current
state of a timer.
OSTmrStop() Stop the
countdown process of a timer.
Semaphore Management
Event Control Blocks
Mutual Exclusion Semaphores
Event Flag Management
Message Mailbox Management
Message Queue Management
Memory Management