(C) COPYRIGHT 2015 WIZnet Co.,Ltd.
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, WIZNET SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
This example shows how to configure external interrupt lines. In this example, EXTI line is configured to generate an interrupt on each rising or falling edge. In the interrupt routine a LED connected to a specific GPIO pin is toggled. In this example: - EXTI line is mapped to PA.00
After EXTI configuration, a software interrupt is generated on the EXTI toggles LED(R). After that, when rising edge is detected on EXTI, LED(R) toggles. If WIZwiki W7500 is used, when button is pressed, LED(R) toggles but, Button has to be configured separately.
To select the WIZnet WIZwiki platform used to run the example.
WIZwiki W7500 Set-up
In order to make the program work, you must do the following :