MC9S12C32: Help for a newbie - interrupt code example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC9S12C32: Help for a newbie - interrupt code example

4,095 Views
LisaJ
Contributor I
Hi, I'm a student working on a project with a MC9S12C32 module.
 
I was wondering if anybody here can direct me to some sort of examples of
code in C for the CodeWarrior platform...
 
I basically need to learn how to program the interrupts.
 
Any help would be valuable...
 
Thank you!

Message Edited by Alban on 2006-11-14 05:36 PM

Labels (1)
0 Kudos
10 Replies

843 Views
LisaJ
Contributor I
Hi,

I need to find some example for using a time interrupt on my HC12.

I'm pretty new to all of this and I could really use some code examples...
0 Kudos

843 Views
JohnnyP
Contributor III
0 Kudos

843 Views
LisaJ
Contributor I
THANK YOU SO MUCH!!!
0 Kudos

843 Views
JohnnyP
Contributor III
Ok. We newbies have to stick together.

I've downloaded most of the files off that site, and saved them in an EE371 folder (in case they disappear).

Notice that Prof. Cady is co-author of an HC12 text. I should order it.
0 Kudos

843 Views
Alban
Senior Contributor II
Hello Lisa,
 
First let me welcome you to the Community.
I renamed your subject as it did not mean much...:smileywink:
 
You can find code example in the CodeWarrior installation.
Funnily enough, the folder is called (CodeWarrior_Examples)
 
Also, by using the search option at the bottom of the pages, you can find additional example code as loads have been published on these boards.
 
Have fun !
Alban.
0 Kudos

843 Views
LisaJ
Contributor I
Thanks Alban!

Yes I saw the examples, but they are not exactly what I am looking for.

As for the forum - I tried searching for "code example" but found none... seems like people here ask specific questions....

Any other ideas?
0 Kudos

843 Views
efoda
Contributor I

Hi LIsa,

me too I'm newbie & had the same suffering :smileysad:(

 

here u r a link that can help u a lot

http://www.ee.nmt.edu/~erives/308_08/

the interrupts r explained in detail starting at lecture 13 & for over 3 lectures

 

attached a sample code that I got from freescale support

I wish it helps

 

Regards,

Engy

0 Kudos

843 Views
mculater
Contributor III

Professor Valvano, of the University of Texas at Austin, has put together an extensive library of code examples for 9S12C and 9S12D, here:

http://users.ece.utexas.edu/~valvano/metrowerks/

 

Carl Barnes

www.TechnologicalArts.com

AMPS:  the modular 9S12 prototyping system

Evaluate * Educate * Embed

0 Kudos

843 Views
Alban
Senior Contributor II
Ok, Lisa...
 
I would have advised to search with the word "interrupt" on top the others.
 
As the CodeWarrior examples are not what you are looking for, please tell me more precisely what you would like and I'll search my hard drive !
 
Cheers,
Alban.
0 Kudos

843 Views
Alban
Senior Contributor II
Well, now I see you created a new thread with the same question more detailed...
I merge them because it's the same question.
0 Kudos