??? 02/03/09 13:15 Read: times |
#161993 - Ouch!!! Responding to: ???'s previous message |
Thanks for the feedback ...
So I wasn't accessing that bit at all, even while reading it .. ouch!! Is there a way to use a pointer to access a bit?? A bit pointer is illegal, but can a void pointer (or something else be used). I dont want to go for an ugly switch case solution to write to each bit explicitly (where I can pass the bit no. to switch() ). |
Topic | Author | Date |
C51 compiler - Writing to a bit, using an index | 01/01/70 00:00 | |
Note that ^ also represents xor | 01/01/70 00:00 | |
Ouch!!! | 01/01/70 00:00 | |
Is there a way to use a pointer to access a bit | 01/01/70 00:00 | |
Just use plain C. | 01/01/70 00:00 | |
Just use plain C![]() | 01/01/70 00:00 |