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

setup_timer_3() --> undefined identifier (PIC18F4331)

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



Joined: 22 Apr 2005
Posts: 2
Location: Santa Barbara

View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger

setup_timer_3() --> undefined identifier (PIC18F4331)
PostPosted: Fri Apr 22, 2005 2:59 pm     Reply with quote

I'm trying to setup timer 3 for use with the ccp on a PIC18F4331. The PCW help file claims that setup_timer_3() is the correct call to make to do this, and I have had no problems setting up timer 2 before. However, when I try to compile any code that includes a call to setup_timer_3() the compiler claims that "setup_timer_3" is an undefined identifier. This timer does exist on the processor I am using and I was hoping that someone had encountered this problem before. Is it a compiler bug, and if so is there a workaround? I just downloaded the most recent version of the compiler and still have the problem.

Thanks for the help.

--Arthur
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Apr 22, 2005 3:24 pm     Reply with quote

Quote:
I'm trying to setup timer 3 for use with the ccp on a PIC18F4331.

The 18F4431 data sheet doesn't mention Timer 3. It only lists Timers
0, 1, 2, and 5.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2054
Arthur



Joined: 22 Apr 2005
Posts: 2
Location: Santa Barbara

View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger

My Mistake
PostPosted: Fri Apr 22, 2005 9:22 pm     Reply with quote

My mistake. Thank you for the help.
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