I'm using STM32Cube to generate the configuration. It creates the following code by default for MX_GPIO_Init in main.c:
... GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING; ...
However, I also want it to be triggered on falling, so I have to manually change it to:
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
Since I need regularly to change the setup (because I am both a starter, and want to gradually add pins), is there a way in STM32CubeMX to set this, so it is generated?