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 of this function looks like, if possible?
Would be great if anyone could help me in this thread.
Thanks Benny
As Erik says, what you asked isn't possible - but if you said what you are actuaually trying to achieve by it, then people might be able to offer instructions.
eg, if what you actually want is a "function" to set a port pin, then why not just use a macro...?