Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

question regarding External interrupt number in efr32fg14 evm

Status
Not open for further replies.

yefj

Advanced Member level 5
Advanced Member level 5
Joined
Sep 12, 2019
Messages
1,505
Helped
1
Reputation
2
Reaction score
5
Trophy points
38
Activity points
9,114
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

1675776468187.png

1675776492767.png
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top