Forum Discussion

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

ISR in C?

Can someone tell me if you have to have the Interrupt Service Routine written in assembly

in MicroC/OS-II?

The book says that they need to be but I found that surprising.

It seems all the other HAL functions to enable ISR's are in C so I wrote mine in C. It does not work

yet but that could be many other problems. I wanted to know before I converted the ISR to assembly.

Thanks

2 Replies

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

    --- Quote Start ---

    originally posted by ranye@Jan 29 2007, 04:35 PM

    i found a older post with the same question and a response.

    sorry.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21006)

    --- quote end ---

    --- Quote End ---

    Hello,

    Could you give me the link of the old post please ? I&#39;m trying to implement ISR in C but it doesn&#39;t seem to work.

    Regards.