Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Looking for FreeRTOS API regarding Events - signaling all tasks that are waiting for an event

Posted by jembeddev on February 25, 2019

Hi,

I was lookingat at the FreeRTOS API for Events and I am trying to figure out what function call I would make, to signal all tasks that are waiting for an event? As in to wake up the tasks?

Any help of course is greatly appreciated! Thanks!!


Looking for FreeRTOS API regarding Events - signaling all tasks that are waiting for an event

Posted by richarddamon on February 25, 2019

xEventGroupSetBit()s / xEventGroupSetBitsFromISR() will set the specified bits in EventGroup, and wake up every task waiting on those specfied bits in that EventGroup. Of course only the highest priority might start up immediately, but all of them will be cleared from their xEventGroupWaitBits() call, and will eventually run, even if after that point those bits get cleared.


Looking for FreeRTOS API regarding Events - signaling all tasks that are waiting for an event

Posted by jembeddev on February 25, 2019

Thank you!! That helped greatly!


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Mediatek

Renesas

RISC-V

SiFIve RISC-V

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner