how can use same pin as MISO and GPIO interrupt simultaneously in STM32L073
I want to use same pin for SPI MISO and GPIO Interrupt.When I need to take data from SPI BUS then I want touse it as SPI MISO else want to use as GPIO Interrupt. How can I use same pin for both functions?