• sbit as parameter to a function
    Is it possible to define a sbit variable e.g. sbit port0_0 = P0 ^ 0; and to call a function with this sbit-definition as a parameter? e.g. setPortPin(port0_0); And how does the declaration...
  • Syntax? "sbit * ptr2sbit;"
    Is it possible using the C16x tools to create a variable that's a pointer to an sbit? I'm trying to find a way to allow a function in a custom library to not need to know where an I/O pin is until the...
  • 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...
  • 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...
  • Regarding sbit
    hi all, I had created some libraries. Those libraries require some pin definitions. My question is, how do I extern sbit ??? Plz Help...