Nuvoton
/
NuMaker-mbed-GPIO_Interrupt
NuMaker GPIO Interrupt with Debounce Setting
Diff: mbed_app.json
- Revision:
- 8:a479ab0a14ef
- Parent:
- 6:b3369ce1a600
- Child:
- 10:286c71f85d6f
--- a/mbed_app.json Tue Jul 11 09:23:50 2017 +0800 +++ b/mbed_app.json Mon Sep 04 09:41:59 2017 +0800 @@ -1,14 +1,19 @@ { "target_overrides": { "NUMAKER_PFM_NUC472": { - "NUC472.gpio-irq-debounce-enable-list": "SW1, SW2", - "NUC472.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_IRC10K", - "NUC472.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16" + "target.gpio-irq-debounce-enable-list": "SW1, SW2", + "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_IRC10K", + "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16" }, "NUMAKER_PFM_M453": { - "M451.gpio-irq-debounce-enable-list": "SW2, SW3", - "M451.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC", - "M451.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16" + "target.gpio-irq-debounce-enable-list": "SW2, SW3", + "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC", + "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16" + }, + "NUMAKER_PFM_M487": { + "target.gpio-irq-debounce-enable-list": "SW2, SW3", + "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC", + "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16" } } }