• about the sbit
    Hi, Why I cannot use P1^1 directly in source code if i didn't use sbit definition in Keil_C51? Another thing is, how to implement the following function about the "dynamic bit" in Keil_c51 V6.02...
  • About Structure Definition
    Dear Friends: I never met the following definition before, would you help me to find out how they can define them like this? #define ResetInfo(info) info.cmd = 0; info.status = MI_OK; info...
  • Re: About structure definition
    To avoid flames, if I try to reply a cannot find a 'post' nor 'preview' button, so I must start a new message thread. Sorry for the inconvinience. Dear KEIL Support Team, can you solve the problem...
  • About Structure Definition
    Dear Friends: I never met the following definition before, would you help me to find out how they can define them like this? #define ResetInfo(info) info.cmd = 0; info.status = MI_OK; info...
  • usage of sbit
    < struct{ bit open; bit close; }door[2]; sbit door[0].open = P1^0; sbit door[0].close = P1^1; sbit door[1].open = P1^2; sbit door[1].close = P1^3; > Here when I compile/build...