• assign value to flash memory
    Hi Guys How am i able to assign values to a variable i have stored in flash so that it is included in the hex file? For example: i have declared a variable volatile unsigned char code err_msgs...
  • Assigning a larger value to a bit
    bit bitVal; unsigned char byteVal; : : bitVal = byteVal; Question: How does C51 determine whether to set or clear the bit? Does it: A). Simply copy the LSB of the byteVal into the bit, or B)...
  • Assign value issue in pdata variable
    Hi all, In my project, I write some codes like this sample: 1 void foo(char xdata *pbuf, char a, char b) 2 { 3 int pdata bufaddr; 4 long pdata testval; 5 6 testval = 0x200; 7 bufaddr = pbuf;...
  • can't assign a value to SBUF in simulator
    hello every body i have a problem when i use debugger i assign a value to sbuf but i can't get that?!?!? it seems that i can't simulate serial recieve?!?! plz help me :(
  • osPoolAlloc in ISR consumes lots of time
    we need a queue in ISR , so we use osPoolAlloc and osPoolFree ,both taking a lot of time, which is not allowed in ISR. Can someone give us some advice ?