??? 11/17/05 10:41 Read: times |
#103847 - sbit in SDCC Responding to: ???'s previous message |
Are the Port 1 defines correct for SDCC? sbit P1_0 = 0x90^0; /* SFR for P1.0 */ sbit P1_1 = 0x90^1; /* SFR for P1.1 */In SDCC this will define a volatile bit variable P1_0 initialized to ((0x90 xor 0) != 0). To define sbit variables in SDCC use: sbit at 0x90 P1_0; sbit at 0x91 P1_1; |
Topic | Author | Date |
Beginner Needs Help with AT89S52 | 01/01/70 00:00 | |
your are trying to walk before you can c | 01/01/70 00:00 | |
the puzzle | 01/01/70 00:00 | |
It can be expanded by stating the follow | 01/01/70 00:00 | |
what is not in the "bible" nor in datash | 01/01/70 00:00 | |
the clock is described in "the bible" | 01/01/70 00:00 | |
I understand... | 01/01/70 00:00 | |
Install a prpoer supervisor chip for res | 01/01/70 00:00 | |
lack of clock | 01/01/70 00:00 | |
hmm | 01/01/70 00:00 | |
THANKS! | 01/01/70 00:00 | |
sbit in SDCC![]() | 01/01/70 00:00 |