Page 1 of 1

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

Posted: Thu Feb 04, 2021 11:37 am
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.

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

Posted: Thu Feb 04, 2021 2:50 pm
by CousinItt
See section 14 of the xTIMEcomposer user guide. "received_command" and "deliver_return" are labels.

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

Posted: Sat Nov 26, 2022 6:23 pm
by Ross
You can ignore these, they were labels for the, now defunct, XMOS Timing Analyser (XTA). I hope this tool does make a return again at some point!