• Function with different types of arguments
    Hello! In the program, I decided to redo some of the functions and added the structure: typedef struct { GPIO_TypeDef * GPIOx; uint16_t PINx; }GPIO_PINdef; Previously, the function looked like...
  • Function with different types of arguments
    Hello! In the program, I decided to redo some of the functions and added the structure: typedef struct { GPIO_TypeDef * GPIOx; uint16_t PINx; }GPIO_PINdef; Previously, the function looked like...
  • long type arguments stored in registers ?
    Table in www.keil.com/.../c51_le_passingparmsinregs.htm lists registers are used to store different argument. I saw arg1 and arg2 are shared the same registers R4~R7 when they are long type. It...
  • long type arguments stored in registers ?
    Table in www.keil.com/.../c51_le_passingparmsinregs.htm lists registers are used to store different argument. I saw arg1 and arg2 are shared the same registers R4~R7 when they are long type. It...
  • Problem with Reentrant Function's Argument List
    I have a reentrant function as shown below... void Move(char X, char Sen, char Flag_Case) reentrant { while(1) { if(Flag_Case == 1) { switch(X) { .... I am calling the function Move() from...