Skip to end of metadata
Go to start of metadata

Table - Micrium OS Internal tasks lists all the internal tasks automatically created by the Micrium OS along with their default priority. It is always possible to change the task priority after the module initialization.

Changing tasks priority must be done with care. Some tasks may have special requirements. Refer to the module's section of this user manual for more information.

Note that the default stack sizes have been deliberately set to a high value. It is recommended to configure them to a more appropriate size once your application is completed.

TaskModuleDescriptionDefault priorityDefault stack sizeChange priority with…Change stack configuration with…Default priority define
TickKernel (OS-III)Handles kernel ticks4256

OS_ConfigureTickTask()

KERNEL_TICK_TASK_PRIO_DFLT
TimerKernel (OS-III)Handles timer-based operations5256

OS_ConfigureTmrTask()

KERNEL_TMR_TASK_PRIO_DFLT
StatKernel (OS-III) 6256

OS_ConfigureStatTask()

KERNEL_STAT_TASK_PRIO_DFLT
ServiceCANopenHandles CAN frames for different CANopen communication objects9512CANOPEN_CORE_TASK_PRIO_DFLT
HubUSB Host CoreHandles the USB Host Hub events10768

USBH_HUB_TaskPrioSet()

USBH_ConfigureHubTaskStk()

USBH_HUB_TASK_PRIO_DFLT
SchedulerUSB Host PBHCIHandles Pipe-Based Host Controller Interface events11512

USBH_PBHCI_SchedTaskPrioSet()

USBH_PBHCI_ConfigureSchedTaskStk()

USBH_PBHCI_TASK_PRIO_DFLT
RecordUSB Device Audio ClassHandles record data transfers12512

USBD_Audio_RecordTaskPrioSet()

USBD_Audio_ConfigureRecordTaskStk()

USBD_AUDIO_RECORD_TASK_PRIO_DFLT
PlaybackUSB Device Audio ClassHandles playback data transfers13512

USBD_Audio_PlaybackTaskPrioSet()

USBD_Audio_ConfigurePlaybackTaskStk()

USBD_AUDIO_PLAYBACK_TASK_PRIO_DFLT
SD CoreIO-SDHandles SD events (card connection, disconnection, interrupts) and data transfers14512SD_CoreTaskPrioSet()SD_ConfigureCoreTaskStk()IO_SD_CORE_TASK_PRIO_DFLT
Net CoreNet CoreHandles timers and packet reception & deallocation161024

Net_CoreTaskPrioSet()

Net_ConfigureCoreTaskStk()

NET_CORE_TASK_CFG_PRIO_DFLT
Net Core WiFi*Net CoreHandles third party drivers that require it17-  NET_CORE_IF_WIFI_TASK_PRIO_DFLT
HTTP ClientHTTP Client Application 18512

HTTPc_TaskPrioSet()

HTTPc_ConfigureTaskStk()

HTTP_CLIENT_TASK_PRIO_DFLT
MQTT ClientMQTT Client Application 19512

MQTTc_TaskPrioSet()

MQTTc_ConfigureTaskStk()

MQTT_CLIENT_TASK_PRIO_DFLT
        
IPerfIPerf ApplicationHandle test runs20512

IPerf_TaskPrioSet()

IPerf_ConfigureTaskStk()

IPERF_TASK_PRIO_DFLT
        
Telnet ServerTelnet SessionHandle client's session21512

TELNETs_InstanceInit()

TELNET_SERVER_SESSION_TASK_CFG_STK_SIZE_ELEMENTS_DFLT
        
Telnet ServerTelnet ServiceHandles new client request22256

TELNETs_InstanceInit()

TELNET_SERVER_TASK_CFG_STK_SIZE_ELEMENTS_DFLT
        
ClockCommon's ClockHandles time keeping24128Clk_TaskPrioSet()Clk_ConfigureTaskStk()CLK_TASK_CFG_PRIO_DFLT
AsynchronousUSB Host CoreHandles asynchronous events25512

USBH_AsyncTaskPrioSet()

USBH_ConfigureAsyncTaskStk()

USBH_ASYNC_TASK_PRIO_DFLT
AsynchronousIO-SDHandles SD data transfers26512

SD_AsyncTaskPrioSet()

SD_ConfigureAsyncTaskStk()

IO_SD_ASYNC_TASK_PRIO_DFLT
Media PollFile System StorageHandles removable media status polling27384

FSStorage_PollTaskPrioSet()

FSStorage_ConfigureMediaPollTaskStk()

FS_MEDIA_POLL_TASK_PRIO_DFLT
Net ServicesNet CoreHandles network services such as DHCP28512

Net_CoreSvcTaskPrioSet()

Net_ConfigureCoreSvcTaskStk()NET_CORE_SVC_TASK_CFG_PRIO_DFLT
TimerUSB Device HID classHandles timer-based HID events29512

USBD_HID_TmrTaskPrioSet()

USBD_HID_ConfigureTmrTaskStk()

USBD_HID_TMR_TASK_PRIO_DFLT
IdleKernel (OS-III)Handles background activity if no other task is runningOS_CFG_PRIO_MAX - 1u256

-

OS_ConfigureIdleTaskStk()

-

* The Net Core WiFi Interface task may be required by some WiFi driver implementations, as is the case with the Qualcomm QCA400x. When applicable, the driver will take care of setting the stack size, and will use the task priority mentioned above. Such task configuration can be overridden by the user application and passed to the NetIF_WiFi_Add() function.

Table - Micrium OS Internal tasks

  • No labels