yefj
Advanced Member level 5
Hello, in the link bellow the is a C code i am using for efr32fg14 evm.
in the line shown bellow,its signature is shown bellow.
GPIO_ExtIntConfig(BSP_GPIO_PB0_PORT, BSP_GPIO_PB0_PIN,BSP_GPIO_PB0_PIN, 0, 1, true);
I am confused regarding the logic of the term intNo
in reference manual section 31.3.5 page 1075 shown bellow.
In the Code we what to trigger Port F pin 6 so intNo is also 6 i cant see why from the text.
they say that for every pin we have our own interrupt external number.
calculated as Index/4 .
how exactly i see the logic of how to pick the intNo the External interrupt number?
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf
https://github.com/SiliconLabs/peri...ries1/gpio/switch_led_interrupt/src/main_s1.c
in the line shown bellow,its signature is shown bellow.
GPIO_ExtIntConfig(BSP_GPIO_PB0_PORT, BSP_GPIO_PB0_PIN,BSP_GPIO_PB0_PIN, 0, 1, true);
I am confused regarding the logic of the term intNo
in reference manual section 31.3.5 page 1075 shown bellow.
In the Code we what to trigger Port F pin 6 so intNo is also 6 i cant see why from the text.
they say that for every pin we have our own interrupt external number.
calculated as Index/4 .
how exactly i see the logic of how to pick the intNo the External interrupt number?
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf
https://github.com/SiliconLabs/peri...ries1/gpio/switch_led_interrupt/src/main_s1.c