#pragma xta endpoint "received_command" and #pragma xta endpoint "deliver_return" info
Posted: 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.
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.