This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

intrrupt

Hi to all

there is question in my mind about interrupt of LPC214x
i want to enable 3 IRQ and 1 FIQ interrupt and i fill all register which are needed.
but i don't know how many changes are necessary in start up file

for example these are function of my interrupts which i declared them:
Timer_IRQ()
EINT1_IRQ()
ADC_IRQ()
PLL_FIQ()

why i should change start-up file? is there any one tell me these changes?

thanks

Parents
  • Maybe you could start by telling us how much time you have spent looking at the sample code available from Keil and NXP? What did you think about how these examples managed to implement interrupt support? Was there something you did see in the examples, but didn't understand?

Reply
  • Maybe you could start by telling us how much time you have spent looking at the sample code available from Keil and NXP? What did you think about how these examples managed to implement interrupt support? Was there something you did see in the examples, but didn't understand?

Children
  • thanks you
    i saw examples of NXP and Keil and there is no problem in C programming but i know that i should change some lines in start-up file which is wrote in assembly language.

    can i choose any name for my interrupt functions? or not, i think this names should be write in start-up.

  • Did you really look at the examples?

    Did you see how the name of the C functions for handling interrupts was used? Was it incorporated in the startup file, or did the C program just use the address of the function to initialize a specific entry in the vectorized interrupt controller? What did the code you saw in the startup files do? Why do you think it did what it did?