2015年6月10日水曜日

HW#3 Round Robin Queue Implementation

HW#3 Round Robin Queue Implementation


  1. • create two tasks with different priorities (hi and lo)
  2. • each task should never call a blocking function (delay, etc.)
  3. • so both tasks are always ready
  4. • 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 件のコメント:

コメントを投稿