Quality RTOS & Embedded Software

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




Loading

Probably problem withxHigherPriorityTaskWoken

Posted by ulmus on February 15, 2012
Quick question:
im using that variable "xHigherPriorityTaskWoken' in interrupt routine, you know what i am talking about.
Can i declare that outside routine as a global variable?
I dont know yet, but i think it is making some problems... i want only be sure that i can declare as global variable.

RE: Probably problem withxHigherPriorityTaskWoken

Posted by Dave on February 15, 2012
If no other interrupts use the same variable, or you can never have interrupts that nest, then it can be global. If it is global it must be set to pdFALSE manuall when the interrupt starts.

RE: Probably problem withxHigherPriorityTaskWoken

Posted by ulmus on February 15, 2012
It means i have an issue with semaphores and task timings... :(


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




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

Latest News

FreeRTOS kernel V10 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