Isr

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Isr

572 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by WrathFox on Thu Jun 24 00:19:20 MST 2010
Hello all,

I'm new to the LPCXpresso and I was looking for an ISR code example (just a simple interrupt example that runs every x milliseconds) but couldn't find any, can anyone point me in the right direction? :)

Thanks for the help!
0 Kudos
Reply
2 Replies

556 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by WrathFox on Thu Jun 24 02:36:56 MST 2010
Thanks for the answer. I am fairly new to hardware programming and what I am looking for is a routine that automatically gets called each x milliseconds after initialization. With the timer32 one can easily make something similiar but I'm wondering if there exist such a routine that automatically gets called?
0 Kudos
Reply

556 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Jun 24 00:53:15 MST 2010
If you haven't read it already, I suggest that you look at the LPCXpresso, available within your tools installation or at:

http://ics.nxp.com/lpcxpresso/#Support

Several of the LPCXPresso examples make use of interrupts.

Use the import Example projects on the quickstart panel and it should open the first time at an appropriate place, for example on my machine...

C:\nxp\lpcxpresso_3.3.4_169\Examples\

Then open the directory that matches the MCU on your LPCXPresso board (LPC1000, then LPC11 or LPC13), and install either LPCXpresso1343.zip or 1343examples.zip (or the LPC11 equivalents)

1343examples.zip contains NXP's main LPCXpresso examples which exercise all the MCU's peripherals (some of which require you to add hardware), whereas LPCXpresso1343.zip is a more minimal set which do not require additional hardware.

Within LPCXpresso1343.zip, the following projects all make use of interrupts....
LPCXpresso1343_blinky
LPCXpresso1343_extint
LPCXpresso1343_systick
LPCXpresso1343_systick_twinkle
LPCXPresso1343_timer32

Please see the readme's inside each project for more details.

Regards,
CodeRedSupport.
0 Kudos
Reply