Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

EventFlags

oseventFlags in CMSIS-RTOS maps to EventGroups in FreeRTOS. The FromISR variant of the FreeRTOS API is automatically used when CMSIS-RTOS functions are called from inside an ISR:

CMSIS-RTOS name

FreeRTOS functions called

Notes

oseventFlagsClear

xEventGroupsClearBits, xEventGroupGetBitsFromISR

osEventFlagsDelete

vEventGroupDelete

osEventFlagsGet

xEventGroupGetBits, xEventGroupGetBitsFromISR

osEventFlagsNew

xEventGroupCreateStatic, xEventGroupCreate

osEventFlagsSet

xEventGroupSetBits, xEventGroupSetBitsFromISR

osEventFlagsWait

xEventGroupWaitBits

 

EventFlags in CMSIS-RTOS work similarly to EventGroups in FreeRTOS, with nearly 1:1 mapping.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content