mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c
- Revision:
- 35:371630885ad6
- Parent:
- 29:6ac4027eff2b
- Child:
- 158:3121b9889f7b
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c Fri Oct 11 13:30:08 2013 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/gpio_irq_api.c Mon Oct 21 11:45:04 2013 +0100 @@ -164,3 +164,11 @@ } } } + +void gpio_irq_enable(gpio_irq_t *obj) { + NVIC_EnableIRQ(GPIO_IRQn); +} + +void gpio_irq_disable(gpio_irq_t *obj) { + NVIC_DisableIRQ(GPIO_IRQn); +}