question regarding External interrupt number in efr32fg14 evm

Status
Not open for further replies.

yefj

Advanced Member level 4
Joined
Sep 12, 2019
Messages
1,212
Helped
1
Reputation
2
Reaction score
3
Trophy points
38
Activity points
7,270
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


 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…