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

Discussions about USB Audio on XMOS devices
Post Reply
Zed1970
Active Member
Posts: 55
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: 360
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.
User avatar
Ross
XCore Expert
Posts: 962
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post 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!
Post Reply