• Initialising Values to Structures
    Dear Sir, I am making a program using Keil PK51 package. I am using a structure of arrays declared as: #define MAX_TESTS 30 struct param{ /* 80 bytes per test */ char mode[MAX_TESTS]; float...
  • Initialisation of structures in external memory
    I have a set of initialised data structures that are now located in external memory. The structures are each defined using __attribute__((section("menu_structures"))). A linker scatter file is used...
  • 89LPC935 initialisation
    I was using the "Measure" program as the basis for an application. The target device was selected to be a P89LPC935 (I needed the A/D). Everything works fine in simulation with one annoying exception...
  • Initialisation of variables
    Hello ! By default, any C variables are cleared to zero on startup. However, I desired for some data that they are not be cleared on startup. How can I do this ? Thanks Michael
  • Cannot use an initialised array
    Dear Sir! I am unable to use an initialised array. The array gets initialised but whn it is used in a function it does not give the proper values. What could be the reason. Please tell me.