Quality RTOS & Embedded Software

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


Events implementation

Posted by jiri on August 24, 2005
Hi everybody,
I'm starting to use FreeRTOS.I use ATmega128 port on my own hardware.Everything works perfect.
But I would like to use events to inform some tasks it has to do something.
Could anyone point me how to implement and use events?

RE: Events implementation

Posted by Nobody/Anonymous on August 24, 2005
What type of 'event'?

You can use queues and semaphores for intertask, and ISR to task communication.

RE: Events implementation

Posted by jiri on August 24, 2005
I mean binary flag - "something hapened in task A" so tasks B,C and D should do some actions.

RE: Events implementation

Posted by Jeff Smith on September 13, 2005
The Queue is used for that. I guess I haven't seen something where multiple tasks could register as listeners, but at least you have the source.

A quick solution is that the source task writes to a different event queue for each task that handles an event.

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

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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

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


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


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