• xdata pointer as function parameter
    I'm pretty sure I know the answer to my question, but I like verification. Say I have an array in xdata: unsigned char xdata foo[32]; I have a function which accepts a pointer and does stuff...
  • passing function pointers as parameters
    Hi, I have written a simple 8051-application using uVision2 V2.37. I have defined a function which expects a pointer to a function which is then saved in an array of function pointers: int registerFunction...
  • Problems with Passing Pointers as Parameters
    Okay, I'm trying to pass a pointer to a char buffer to a function. It works fine in the Keil simulator/debugger, but not on the target hardware. // Variable Declaration #define MAX_RX_SIZE 100 static...
  • Function parameter
    Hi All, I am newbie in this. Is this function declaration right, as it has bit as parameter, void myfunc(unsigned char,bit); Ashutosh
  • Can't pass pointer parameters correctly.Why?
    Hi, I wrote a test function as; // Task definitions OS_TID T_Test; U64 Test_stack[13312/8]; __task void init (void); __task void Test (void) ; // Function definition uint16_t TestFunc( uint8_t...