So that I can write directly to register such as ADCON1.
However, creating such file is too tedious and time consuming so I am wondering if the compiler provides some method as to I can access special functions by name without definining it's mapping.
Thank you
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue May 15, 2012 2:31 pm
The CCS IDE (PCWH, PCWHD) has the ability to make it for you.
See the screenshots in this section:
Quote:
Ability to Generate Customized Include Files with SFR Definitions
You need the IDE version of the compiler to do this.
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
Posted: Tue May 15, 2012 3:30 pm
Apart from mentioning the option to generate a SFR definition file automatically, it should be said,
that the syntax understood by the CCS C compiler uses #byte and #word statements. Just review the compiler help.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum