September 2025
Intermediate to advanced
570 pages
13h 21m
English
This chapter shows how FreeRTOS can be used to implement a driver that is shared among multiple tasks. Two drivers are created for sending messages over USB. The messages are sent from the dev-board to the development-computer. The first driver supports one task sending USB messages. The second driver enhances the first driver, by supporting multiple tasks sending USB messages. The chapter focuses on FreeRTOS features that are helpful in creating drivers. The features used are ones we’ve worked with earlier: tasks, stream-buffers, semaphores, mutexes, and timers.
The chapter has three example-programs. They are in the IDE-project Chapter_12. The first example-program introduces sending messages over ...
Read now
Unlock full access