question

SVV-8273 avatar image
0 Votes"
SVV-8273 asked SVV-8273 commented

ThreadX Event Flags

Is it possible to call the "tx_event_flags_set()" function from an Interrupt Service Routine?

I am referring this link for the ThreadX Event Flags related API's

https://docs.microsoft.com/en-us/azure/rtos/threadx/overview-threadx

Under the section ThreadX User Guide --> Chapter 4 Description of ThreadX Services, the API description does not mention whether the API is allowed from an ISR.

But, the section ThreadX SMP User Guide --> Chapter 4 Description of ThreadX Services, the API description clearly mentions that the API is allowed from an ISR.

Can someone clarify, if this API can be called from an ISR for any ARM processor? We are using a dual core ARM A9.
Thanks


azure-rtos
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ScottLarson-1357 avatar image
1 Vote"
ScottLarson-1357 answered SVV-8273 commented

Thanks for finding this "bug" in our documentation.

Function tx_event_flags_set is allowed from ISRs.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank You for the clarification.

0 Votes 0 ·