Chapter 9

Using the FreeRTOS functions

Abstract

There are many multitasking kernels developed specifically for the microcontrollers. Currently, FreeRTOS is one of the most commonly used multitasking kernels which has been ported to many microcontroller platforms. FreeRTOS supports many multitasking tools such as tasks, queues, timers, semaphores, mutexes, etc. This chapter describes the FreeRTOS API functions available for manipulating tasks. The chapter describes task creation, task delay, suspending a task, resuming a task, deleting an existing task, task priorities, tick count, aborting a task, and task handles. Many tested and working real-time projects are given in the chapter using most of the FreeRTOS API task functions. The projects cover ...

Get ARM-Based Microcontroller Multitasking Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.