Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   RC bootup sequence (http://www.chiefdelphi.com/forums/showthread.php?t=22476)

InnovationFirst 18-11-2003 18:24

Timer and Interrupt Availability
 
Innovation First would like to clear a few things up:

1. All five timers are available to the user.
2. You may use any of the timer interrupts, but only at low priority.
3. The user may use NO high priority interrupts anywhere in their code.

The problem that WizardOfAz ran into is addressed by this FAQ:
http://www.innovationfirst.com/first...Action=Q&ID=73

We will be releasing a white paper shortly on how to use the timers, both by polling and by using interrupts. This will be available at http://www.innovationfirst.com/first...ite_papers.htm

Best regards,
The Firmware Team
Innovation First, Inc.

Rickertsen2 18-11-2003 18:55

SWEET! all five are available! I can go work on my code now.

KevinB 18-11-2003 20:56

Re: RC bootup sequence
 
Quote:

Originally posted by Venkatesh
When the EDU-RC's user programmable pic is powered up, i can see that it jumps to a reset vector (defined in ifi_startup.c). Then, IFI_Startup.c is processed. After that, I seem to understand that main.c begins processing, and the master loop begins. (Am i correct so far?)
Yes.
Quote:

If i remove IFI_utilities.c, will anything happen to this procedure?
Yes.
Quote:

What purpose is printf_lib.c serving? Can it be removed?
printf_lib.c provides support for the printf() function, which many C programmers are familiar with (and love!). This is used for sending debugging information over the RS232 port to a computer. Yes it can be removed, as long as you also remove all the calls to printf() and have no desire to print.
Quote:

What if I make just one file (rc.c) and have the initialization code and main loop and user code all in that file? And then combine all the header files into one file. Will the code work at all, or will chaos reign supreme?
Yes is should work fine, assuming you do not modify or move any of the preprocessor directives (such as the #pragma's)


All times are GMT -5. The time now is 19:55.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi