I want to know if there is any way to reallocate a sensor configured on a pin from STM32F091VCx to another pin.
I have a wind direction sensor that originally was digital and had all the measurement, treatment and sending configuration but right now I needed to change it and it is analogic. However the pin that it was connected (PD0) does not have an ADC builted in so I must change the pin to one that does have the ADC. So, I want to know if there is any document or something like that I can use to "give me a north" without need to rebuild all the project because it was from third partner and I'm kinda lost.
By the way, I'm using the IAR 7.70.1, generating a blank project with the STM32CubeMX and copy all the third-partner firmware files to the SRC folder and add on the IAR.