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 support@ccsinfo.com

Functions &interrupts

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



Joined: 09 Mar 2004
Posts: 52
Location: Greater Manchester - UK

View user's profile Send private message

Functions &interrupts
PostPosted: Tue Mar 09, 2004 11:57 am     Reply with quote

I am a new comer to the CCS compiler

(A) What is the best version of MPLAB to use with PCM compiler
(Most compatible)??

(B) Is it possible to call functions within a ISR() routine

(C) When you include a ISR - eg #int_rtcc, should self made functions
be placed above or below the RTCC ISR??
_________________
Best Regards
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: Functions &interrupts
PostPosted: Tue Mar 09, 2004 12:06 pm     Reply with quote

asjad wrote:
I am a new comer to the CCS compiler

(A) What is the best version of MPLAB to use with PCM compiler
(Most compatible)??

(B) Is it possible to call functions within a ISR() routine

(C) When you include a ISR - eg #int_rtcc, should self made functions
be placed above or below the RTCC ISR??


I have quit using MPLAB completely. I use the ICD-U to program from within the CCS IDE. There are several ways to use the compiler though.

You can call a function from within an interupt. It's best not to use the same functions from both within an interupt and main.

The function or at least a prototype must be defined prior to the code that calls the function.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 09, 2004 12:20 pm     Reply with quote

(A) What is the best version of MPLAB to use with PCM compiler
(Most compatible)?

Vs. 5.70.40 works well with PCM. But you don't get the C syntax
coloring in that version.
http://www.microchip.com/1010/pline/tools/archive/mplabi/

I've used vs. 6.40 and 6.42 with PCH and the ICD2 debugger.
Of those two, I would say 6.42 works the best. But now they're
up to vs. 6.43. It's free. Just try it. (It will work with PCM, too).
http://www.microchip.com/1010/pline/tools/picmicro/devenv/mplabi/mplab6/index.htm#mplab1
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