mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.
Diff: common/InterruptIn.cpp
- Revision:
- 35:371630885ad6
- Parent:
- 15:4892fe388435
- Child:
- 36:ab3ee77451e7
--- a/common/InterruptIn.cpp Fri Oct 11 13:30:08 2013 +0100 +++ b/common/InterruptIn.cpp Mon Oct 21 11:45:04 2013 +0100 @@ -99,6 +99,14 @@ } } +void InterruptIn::enable_irq() { + gpio_irq_enable(&gpio_irq); +} + +void InterruptIn::disable_irq() { + gpio_irq_disable(&gpio_irq); +} + #ifdef MBED_OPERATORS InterruptIn::operator int() { return read();