sammy-e
Newbie level 5
Hello,
Can someone tell me where/how the configuration macros are defined? I have been trying to configure the various configuration bits/settings within code such as OSCCON and WDTCON based on the names I see within "C:\Program Files\Microchip\MCC18\h\p18f2525.h", but I learned that I should instead be using the names as listed in "PIC18 Configuration Settings Addendum" (OSC and WDT respectively) from the "C18 Getting Started manual".
Where are WDT and OSC defined? I even looking in p18f2525.inc without success. How does the compiler know what these are? Thanks.
Can someone tell me where/how the configuration macros are defined? I have been trying to configure the various configuration bits/settings within code such as OSCCON and WDTCON based on the names I see within "C:\Program Files\Microchip\MCC18\h\p18f2525.h", but I learned that I should instead be using the names as listed in "PIC18 Configuration Settings Addendum" (OSC and WDT respectively) from the "C18 Getting Started manual".
Where are WDT and OSC defined? I even looking in p18f2525.inc without success. How does the compiler know what these are? Thanks.