This fork of the MBED Library allows you to use counters on the external counter pins (15/16 for Timer 3, 29/30 for Timer 2) by switching internal timing functions in MBED to utilize Timer 0
Fork of mbed-src by
Diff: api/InterruptIn.h
- Revision:
- 69:49e45cb70de1
- Parent:
- 36:ab3ee77451e7
--- a/api/InterruptIn.h Thu Dec 26 13:00:06 2013 +0000 +++ b/api/InterruptIn.h Tue Dec 31 15:30:05 2013 +0000 @@ -108,11 +108,13 @@ */ void mode(PinMode pull); - /** Enable IRQ + /** Enable IRQ. This method depends on hw implementation, might enable one + * port interrupts. For further information, check gpio_irq_enable(). */ void enable_irq(); - /** Disable IRQ + /** Disable IRQ. This method depends on hw implementation, might disable one + * port interrupts. For further information, check gpio_irq_disable(). */ void disable_irq();