I am currently trying to create and link an interrupt for my UART communication, but I was also not able to figure out how to use an external interrupt earlier. With the data sheet and header file I have, i'm having a hard time finding the method to link a function with an interrupt. With the previous ARM processor I have used (M7) I easily found the address in the data sheet that pointed to the interrupt handler. Some resources are below.
If anyone can give me some pointers I would greatly appreciate it. In regards to this problem or any other topic.
Link to Keil device page
http://www.keil.com/dd2/nxp/lpc1114fn28_102/#/eula-container
Link to data sheet
https://www.nxp.com/documents/user_manual/UM10398.pdf
Link to code
https://drive.google.com/file/d/0B6eUXT7fE9bacVZ6aklHZWJzWUU/view?usp=sharing
Hi Austin Johannes,
You can refer to our lpcopen lpc1114 code, and refer to that code to enable the interrupt.
Now take the TIMER interrupt as an example:
After configure the according module, and enable the module interrupt, then you need to enable the according IRQ and write the according interrupt service function.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Please show your code.