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] [May 2016 Threads]
Hello,
I've been working on a project with SAMD21 and FreeRTOS.
I want to add in my code software interrupts.
The tasks I have created are blocked and unblocked with Notifications.
If the software interrupt I want to create, occur in the middle of a Task, how can I handle it?
Can I use the fromISR functions since it's about a software interrupt and not a hardware one?
How can I make sure that the code execution will return to the same point after the software interrupt?
Thank you in advance.
Regards
When you say software interrupt, do you mean an SVC call, or an
interrupt generated by setting a bit in a SetPending register?
If you are setting a pending bit then the resultant interrupt will
occur, and should be handled, in exactly the same way as a hardware
generated interrupt.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.