AnsweredAssumed Answered

[SOLVED] How to set up a GPIO interrupt on STM32L031

Question asked by morrison.simon on Jan 21, 2018
Latest reply on Jan 22, 2018 by morrison.simon

Please can somebody point me to an example of setting up an interrupt and service routine for a GPIO input for an STM32L031? I have read UM1749 but it maybe it's because I'm not familiar with HAL (4 years of using Standard Peripheral Library for several STM32F20x projects), but although there is a code snippet for configuring the GPIO pin as an interrupt input there isn't any corresponding code for enabling it or for the ISR. None of the ST examples for this chip seem to use a GPIO interrupt. 

Outcomes