Interupt Information

__disable_irq();    // Disable Interrupts
 
// do something that can't be interrupted
 
__enable_irq();     // Enable Interrupts


1 comment on Interupt Information:

02 Nov 2012

InterruptIn interface is used to trigger an event when a digital input pin changes.

Any of the numbered mbed pins can be used as an InterruptIn, except p19 and p20.

For timer-based interrupts, see Ticker (repeating interrupt) and Timeout (one-time interrupt)

http://mbed.org/handbook/Ticker

http://mbed.org/handbook/Timeout

http://mbed.org/handbook/Timer

Please log in to post comments.