Interupt Information
Page last updated
02 Nov 2012, by
K Payne.
1 reply
__disable_irq(); // Disable Interrupts
// do something that can't be interrupted
__enable_irq(); // Enable Interrupts
1 comment on Interupt Information:
Please log in to post comments.
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