CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Where can I find register & bit name #defines?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
BadBrainBoy



Joined: 28 Apr 2005
Posts: 4

View user's profile Send private message

Where can I find register & bit name #defines?
PostPosted: Tue May 03, 2005 5:07 pm     Reply with quote

I would like to #include a list of #defines for a given PIC which contains the #byte and #bit definitions for all the PIC registers and bits, using the Microchip data sheet names. Am I dreaming? It looks like the MPLAB IDE has this information in .dev files, but they are not suitable for #including. They look like they need some scanning program to create usable results from them.

Does such a sensible thing exist?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 03, 2005 5:19 pm     Reply with quote

16F87x --
http://www.ccsinfo.com/forum/viewtopic.php?t=296

18F252 (and 18F452) --
http://www.ccsinfo.com/forum/viewtopic.php?t=14755
BadBrainBoy



Joined: 28 Apr 2005
Posts: 4

View user's profile Send private message

PostPosted: Tue May 03, 2005 5:26 pm     Reply with quote

Yes! This is the type of thing I'm after. This is apparently just an ad hoc thing though, if some poor programmer happens to wade through it and post it like this. It seems like CCS or Microchip should have this kind of thing for all devices though. Is that available?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 03, 2005 8:29 pm     Reply with quote

Quote:
It seems like CCS or Microchip should have this kind of thing for all devices though. Is that available?

I don't think it is. If it came with the compiler, it would be in the
compiler's folder, but it's not.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group