NuMaker GPIO Interrupt with Debounce Setting

mbed_app.json

Committer:
ccli8
Date:
2018-10-15
Revision:
14:e242598d7698
Parent:
10:286c71f85d6f
Child:
15:d825021a7e5b

File content as of revision 14:e242598d7698:

{
    "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"
        },
        "NUMAKER_PFM_NANO130": {
            "target.gpio-irq-debounce-enable-list": "SW2, SW3",
            "target.gpio-irq-debounce-clock-source": "GPIO_DBCLKSRC_IRC10K",
            "target.gpio-irq-debounce-sample-rate": "GPIO_DBCLKSEL_16"
        }
    }
}