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

ECCPAS-register (16F616)

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



Joined: 12 Nov 2007
Posts: 37

View user's profile Send private message

ECCPAS-register (16F616)
PostPosted: Wed Feb 10, 2010 6:01 am     Reply with quote

How control ECCPAS-register (address 0x17)?
I need test, set and clear ECCPASE-bit (bit 7).
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 10, 2010 12:26 pm     Reply with quote

Use a #byte statement to declare the address of the register.
Look up the register address in the PIC's data sheet.

Use CCS bit manipulation functions to test, set, and clear bits in the
register that you have declared with the #byte statement.
http://www.ccsinfo.com/content.php?page=compspecific&navcode=/rhCompSpecific#bit

See the CCS manual for more information on these topics.
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