NuMaker GPIO Interrupt with Debounce Setting

mbed_app.json

Committer:
ccli8
Date:
2017-09-04
Revision:
8:a479ab0a14ef
Parent:
6:b3369ce1a600
Child:
10:286c71f85d6f

File content as of revision 8:a479ab0a14ef:

{
    "target_overrides": {
        "NUMAKER_PFM_NUC472": {
            "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": {
            "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"
        }
    }
}