• How to exit the RTX kernel? Is there a function call for this?
    I am using RL-RTX V3.20 in a project. I would like to exit the RTX kernel, but I cannot find the library function for this. Anybody can help?
  • Call C function (that calls another C function) from assembly code
    Hi all, I want to call a C function (for example: func1() ) from my old assembly code. The problem is that if func1() calls another C function( func2() ), what will happen? How does the compiler pass...
  • Call functions
    Hi, I have some assembly routines located in ROM memory, for example asmfunc that is located at address 0xF700 - is absolute address of flash memory. The program memory is organized: ROM code...
  • Indirect function calls with code banking
    Hi, Im having some problems with code banking, regarding to passing functions adresses as parameters. for example: void func ( void(*ret_func1)(void), void(*ret_func2)(void)) { . . . if(x...
  • CODE for Call void function with parameter?
    void PWM_Config(uint8_t TIM_PERIOD, uint8_t TIM_PULSE) { . . . } int main() { PWM_Config(); // THIS LINE SHOWS AN ERROR . . . } ERROR LIST: main.c(251): error: #165: too few arguments in...