We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I get an error while compiling a program:
'ASC0_CON_FDE': undefined identifier.
There are two similar definitions for this SFR:
1. In XC16X.h which is generated by Keil: sbit ASC0_CON_S0FDE = ASC0_CON^11; 2. In MAIN.H which is generated by Dave: #define ASC0_CON_FDE ((T_Reg16 *) 0xFFB0)->bit11
You see, they are different! I use the file XC16X.h. Can I change “sbit ASC0_CON_S0FDE = ASC0_CON^11;” into “sbit ASC0_CON_FDE = ASC0_CON^11;”? Why are they different?
Thanks Senmeis