Best Answer Chris Walker, 28 December 2013 - 07:17 AM
Hi Mark, With .NET Micro Framework, your hardware interrupts will generally result in C# events, and you'll handle those with EventHandlers. When the event occurs, your existing code will be interrupted to run your event's code (in your EventHandler). This will generally stop your currently-running code, but you could also run your main code on a separate thread at which point NETMF would make sure that both pieces of code got processor time. As far as NMIs and the such go...those happen down in the microcontroller, but NETMF apps run at a much higher level. So for most purposes, you just have events (raised either by interrupts or by other code). Chris Go to the full post