Hi,
I want to define a inline function for my C program which is composed of asm() instructions.
#pragma FUNC_ALWAYS_INLINE(send_results) send_results(uint16_t *data, uint16_t size) { __asm(" some asm code here"); __asm(" ..."); }
My requirements:
- The function has two arguments which should be passed through via registers p.ex. R15 and R14
- The function has only assembler instructions
- The function should be compiled inline
FUNC_ALWAYS_INLINE does not inline my C function. How could I define such a inline assembler function?