#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: 42
Joined: Tue Oct 15, 2019 10:36 am

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

Postby Zed1970 » Thu Feb 04, 2021 11:37 am

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
XCore Addict
Posts: 241
Joined: Wed May 31, 2017 6:55 pm

Postby CousinItt » Thu Feb 04, 2021 2:50 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests