- • create two tasks with different priorities (hi and lo)
- • each task should never call a blocking function (delay, etc.)
- • so both tasks are always ready
- • Use the priorty-set and priority-get function calls to effectively obtain a round-robin schedule
http://www.freertos.org/FreeRTOS-Coding-Standard-and-Style-Guide.html
| New Name | Description |
| TaskHandle_t | Used to reference tasks. |
| QueueHandle_t | Used to reference queues. |
| SemaphoreHandle_t | Used to reference binary, counting, recursive and mutex type semaphores. |
| TimerHandle_t | Used to reference software timers. |
| CoRoutineHandle_t | Used to reference co-routines. |
| TickType_t | Used to hold tick count values |
| BaseType_t | Defined to the most efficient signed type for the architecture. |
| UBaseType_t | Defined to the most efficient unsigned type for the architecture. |
| QueueSetHandle_t | Used to reference a queue set. |
| QueueSetMemberHandle_t | Used to reference a member of a queue set, which can be a queue or any of the semaphore types. |
| MemoryRegion_t | Used with ports that support memory protection. |
| TaskParameters_t | Used with ports that support memory protection. |
| TaskStatus_t | Used in with the uxTaskGetSystemState() function. |
| TaskHookFunction_t | Used with the task tag functions (for example vTaskSetApplicationTag(). |
| TaskFunction_t | Used with the xTaskCreate() function. |
| TimerCallbackFunction_t | Used with the xTimerCreate() function. |
| TimeOut_t | For advanced users only. |
0 件のコメント:
コメントを投稿