NuMaker GPIO Interrupt with Debounce Setting

mbed_app.json

Committer:
cyliang
Date:
20 months ago
Revision:
19:6e52d72cc78b
Parent:
17:707b60147ca6

File content as of revision 19:6e52d72cc78b:

{
    "target_overrides": {
        "*": {
            "platform.stdio-baud-rate"              : 115200,
            "platform.stdio-convert-newlines"       : true
        },
        "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_IOT_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"
        },
        "NUMAKER_PFM_M2351": {
            "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_IOT_M263A": {
            "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_IOT_M467": {
            "target.gpio-irq-debounce-enable-list": "BUTTON1, BUTTON2",
            "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
            "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
        }
    }
}