Hello,
For this matter I have had good use of the free Codewarrior with Processor
Expert and its Beans.
It lets you define your peripheral hardware and/or software functions using a
GUI rather than programming them by hand. The really great thing is that it
produces commented C-source code components based on your settings and adds
these to your project with an interface available for your main program.
You can either use these "Beans" as they are or study the code that has been
created for them and learn from that.
Good luck / Ruben
> Hi,
>
> Can I know where I can get the detail information on the basic steps
> to write program for the interrupt in C? Any sample code as a reference?
>
> Basically, I will use SCI, SPI, Timer module, ATD,in my project . Any
> reference or sample code on this? What are the specific registers that
> needed .To be initialised and also corresponding ports bits .
> Any help is highly appreciated.
>
> Best Regards,
> Mallik.
>
==============================
Ruben Jönsson
AB Liros Electronic
Box 9124, 200 39 Malmö, Sweden
TEL INT +46 40142078
FAX INT +46 40947388
r...@pp.sbbs.se
==============================

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )