Quality RTOS & Embedded Software

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



Posted by Braun on January 5, 2012

I work in the
Now I want to perform some task to save energy.
The tasks have been created from a different task.
The craeter Task have the priority 2.He goes after he create the task in the state suspend.
The energy-saving tasks are first priority. I let them wake up with a RTC interrupt. After that, the task generator is placed in the ready state.

Energy save Task:

vTaskResume( xHandle );

-- This will not run. Why?

other solution:
Energy save Task:
RTC_Interrupt = 0;
}while(RTC_Interrupt == 0);
vTaskResume( xHandle );

this runs, because the Task is waiting

Does anyone have an explanation?

RE: tasks

Posted by Richard on January 5, 2012
Sorry, I'm not following your code or your intention. I'm guessing you are using an EFM32 part - in which case you might get something from the following contributed code and documentation:


[ 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