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 ]    [ Sitemap ]    [ ]

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

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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