Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Help with interrupts

Hi,

I've started learning NiosII.

And I would like to know about interrupt handling..

Is there any useful article in the net that I could refer to??

the function of my code is to blink a led at 1Hz using a given 100Hz input.

plzz help...

Thanx. :-P

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    The subject you're intersted in is explained in the Excpetion Handling chapter

    http://www.altera.com/literature/hb/nios2/n2sw_nii52006.pdf

    In fact the interrupt is a kind of exception.

    Anyway you should forecast to spend some time to read some other chapters of the NiosII documentation, as they are interconnected.

    http://www.altera.com/literature/lit-nio2.jsp

    This is not a "RTFM"-like answer: I, myself, learned reading the manuals. Sometimes the problem is where to find the correct manual.

    Regards,

    Gabriele
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanx.

    I'l go through the links u've posted and check it. :)

    True indeed, because there's so many manuals we have to spend lots of time going through every one of them.

    Thanx for ur help.