In my STM32, if I have set the GPIO_MODER as "Alternate function" and did not set any values in the GPIO_AFRL and GPIO_AFHL, I guess it will take the defaukt value of AF0. What is AF0 used for ?
Thanks for the prompt response. I am trying to debug a failure scenario. PA5 is what is the GPIO pin used ? As per the reference manual, AF0 for this pin does not have any function. obviously, this is a misconfiguration ? My specific question is that...