NuMaker GPIO Interrupt with Debounce Setting

Committer:
ccli8
Date:
Mon Oct 15 15:38:34 2018 +0800
Revision:
15:d825021a7e5b
Parent:
14:e242598d7698
Child:
17:707b60147ca6
Support NUMAKER_IOT_M487 and NUMAKER_PFM_M2351

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ccli8 2:15b06747ce59 1 {
ccli8 2:15b06747ce59 2 "target_overrides": {
ccli8 2:15b06747ce59 3 "NUMAKER_PFM_NUC472": {
ccli8 8:a479ab0a14ef 4 "target.gpio-irq-debounce-enable-list": "SW1, SW2",
ccli8 8:a479ab0a14ef 5 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_IRC10K",
ccli8 8:a479ab0a14ef 6 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 2:15b06747ce59 7 },
ccli8 2:15b06747ce59 8 "NUMAKER_PFM_M453": {
ccli8 8:a479ab0a14ef 9 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 8:a479ab0a14ef 10 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 8:a479ab0a14ef 11 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 8:a479ab0a14ef 12 },
ccli8 8:a479ab0a14ef 13 "NUMAKER_PFM_M487": {
ccli8 8:a479ab0a14ef 14 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 8:a479ab0a14ef 15 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 8:a479ab0a14ef 16 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccchang 10:286c71f85d6f 17 },
ccli8 15:d825021a7e5b 18 "NUMAKER_IOT_M487": {
ccli8 15:d825021a7e5b 19 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 15:d825021a7e5b 20 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 15:d825021a7e5b 21 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 15:d825021a7e5b 22 },
ccchang 10:286c71f85d6f 23 "NUMAKER_PFM_NANO130": {
ccchang 10:286c71f85d6f 24 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccchang 10:286c71f85d6f 25 "target.gpio-irq-debounce-clock-source": "GPIO_DBCLKSRC_IRC10K",
ccchang 10:286c71f85d6f 26 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCLKSEL_16"
ccli8 15:d825021a7e5b 27 },
ccli8 15:d825021a7e5b 28 "NUMAKER_PFM_M2351": {
ccli8 15:d825021a7e5b 29 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 15:d825021a7e5b 30 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 15:d825021a7e5b 31 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 2:15b06747ce59 32 }
ccli8 2:15b06747ce59 33 }
ccli8 2:15b06747ce59 34 }