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

CCP on TMR3

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







CCP on TMR3
PostPosted: Tue Nov 18, 2008 12:58 pm     Reply with quote

Hello. I working with a 18f2550, and I need to use ccp2 module in capture mode operating with TMR3, How can I configure it?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Nov 18, 2008 1:14 pm     Reply with quote

Look in the .H file your PIC. Here's the file location:
Quote:
c:\Program Files\picc\Devices\18F2550.h

Look in the sections on Timer3 and on the CCP. It shows the constants
that you need to use.


Also use the forum's search page:
http://www.ccsinfo.com/forum/search.php
Search for the constant that you find in the 18F2550.H file:
Quote:
T3_CCP2

You might find sample code that already exists on the forum.
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