FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2008 Threads] Send Message From ISR -port LPC2212Posted by j v on December 1, 2008 Hello,
I'm trying to make a serial driver. Therefore I have to send a message from an ISR. This message sometimes awake a different task from the one it is interrupting, and sometimes the same task that was interrupted. Referring to the documentation I have to use taskYIELD_FROM_ISR () when the task has been awaken. But It is apparently not defined in the code. How can I do then. I tried without it but I can merely send an receive characters once. And I tried with taskYIELD and portYIELD_FROM_ISR() which does not work at all What should I do and where is this taskYIELD_FROM_ISR () defined?
RE: Send Message From ISR -port LPC2212Posted by Dave on December 1, 2008 There is inconsistency in the naming of this macro. Depending on the compiler you are using it might be called portEND_SWTICHING_ISR. Look at the example interrupt service routines that came with the port you are using to see how it is done.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|