NuMaker GPIO Interrupt with Debounce Setting

Committer:
cyliang
Date:
Wed Mar 01 09:37:13 2023 +0000
Revision:
19:6e52d72cc78b
Parent:
17:707b60147ca6
Change baud-rate as 115200, update json & os to v6.17.0 for M467 target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ccli8 2:15b06747ce59 1 {
ccli8 2:15b06747ce59 2 "target_overrides": {
cyliang 19:6e52d72cc78b 3 "*": {
cyliang 19:6e52d72cc78b 4 "platform.stdio-baud-rate" : 115200,
cyliang 19:6e52d72cc78b 5 "platform.stdio-convert-newlines" : true
cyliang 19:6e52d72cc78b 6 },
ccli8 2:15b06747ce59 7 "NUMAKER_PFM_NUC472": {
ccli8 8:a479ab0a14ef 8 "target.gpio-irq-debounce-enable-list": "SW1, SW2",
ccli8 8:a479ab0a14ef 9 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_IRC10K",
ccli8 8:a479ab0a14ef 10 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 2:15b06747ce59 11 },
ccli8 2:15b06747ce59 12 "NUMAKER_PFM_M453": {
ccli8 8:a479ab0a14ef 13 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 8:a479ab0a14ef 14 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 8:a479ab0a14ef 15 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 8:a479ab0a14ef 16 },
ccli8 8:a479ab0a14ef 17 "NUMAKER_PFM_M487": {
ccli8 8:a479ab0a14ef 18 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 8:a479ab0a14ef 19 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 8:a479ab0a14ef 20 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccchang 10:286c71f85d6f 21 },
ccli8 15:d825021a7e5b 22 "NUMAKER_IOT_M487": {
ccli8 15:d825021a7e5b 23 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 15:d825021a7e5b 24 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 15:d825021a7e5b 25 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 15:d825021a7e5b 26 },
ccchang 10:286c71f85d6f 27 "NUMAKER_PFM_NANO130": {
ccchang 10:286c71f85d6f 28 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccchang 10:286c71f85d6f 29 "target.gpio-irq-debounce-clock-source": "GPIO_DBCLKSRC_IRC10K",
ccchang 10:286c71f85d6f 30 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCLKSEL_16"
ccli8 15:d825021a7e5b 31 },
ccli8 15:d825021a7e5b 32 "NUMAKER_PFM_M2351": {
ccli8 15:d825021a7e5b 33 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
ccli8 15:d825021a7e5b 34 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
ccli8 15:d825021a7e5b 35 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
cyliang 17:707b60147ca6 36 },
cyliang 17:707b60147ca6 37 "NUMAKER_IOT_M263A": {
cyliang 17:707b60147ca6 38 "target.gpio-irq-debounce-enable-list": "SW2, SW3",
cyliang 17:707b60147ca6 39 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
cyliang 17:707b60147ca6 40 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
cyliang 19:6e52d72cc78b 41 },
cyliang 19:6e52d72cc78b 42 "NUMAKER_IOT_M467": {
cyliang 19:6e52d72cc78b 43 "target.gpio-irq-debounce-enable-list": "BUTTON1, BUTTON2",
cyliang 19:6e52d72cc78b 44 "target.gpio-irq-debounce-clock-source": "GPIO_DBCTL_DBCLKSRC_LIRC",
cyliang 19:6e52d72cc78b 45 "target.gpio-irq-debounce-sample-rate": "GPIO_DBCTL_DBCLKSEL_16"
ccli8 2:15b06747ce59 46 }
ccli8 2:15b06747ce59 47 }
ccli8 2:15b06747ce59 48 }