• 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...
  • Trying to pass pointers as arguemnts to a function
    Below is a code Snippet: I am trying to pass pointers through a function; And I am trying to get back the results. Does not work at this time? main() { static UCHAR ucRcvAddress, *ucMBFrame...
  • pointer passing
    I don't know if this is me or the compiler. I have a declaration PSD_SIGNAL_DEF far psd_temp_def = {CS_TEMPERATURE_PSD_ADDRESS,CS_TEMPERATURE_PORT,CS_TEMPERATURE_PIN,0}; and a call psd_temp_def...
  • 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...
  • Problem passing pointer argument to reentrant function
    Hi All, TARGET I am using C51 tools to compile a simple app for an ST uPSD33xx. OUTLINE The problem I am experiencing maifests itself as an incorrect value in a pointer passed as an argument...