#pragma xta endpoint "received_command" and #pragma xta endpoint "deliver_return" info Topic is solved

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
Zed1970
Active Member
Posts: 46
Joined: Tue Oct 15, 2019 10:36 am

#pragma xta endpoint "received_command" and #pragma xta endpoint "deliver_return" info

Post by Zed1970 »

Hi,

We have a product based on the xCORE-200 Multichannel Audio platform that is essentially a USB to SPDIF (optical/coax) converter. Current we're removing a lot of unused functionality and streamlining a number of areas within the sample code. In the function deliver() [audio.xc] there are the following pragmas, #pragma xta endpoint "received_command" and #pragma xta endpoint "deliver_return". Looking through XCC-Pragma-Directives_X6947A.pdf it doesn't much about what do these two directives actually do; so what exactly do they do - code/assembler wise - and is it safe to move them into another function with similar operation?

Thanks.


View Solution
User avatar
CousinItt
Respected Member
Posts: 265
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

See section 14 of the xTIMEcomposer user guide. "received_command" and "deliver_return" are labels.