This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is RCC_APB2Periph_AFIO clock signal?

Hi. Could You help me to understand somethink. In STM32 like STM32F103c8... there is a clock signal called RCC_APB2Periph_AFIO. When should be turned on this signal, always when I use peripherial, like Timmer, AD, USART or I2C or maybe when I used pins attached to this peripherial?
Why we turn on this clock and also we give clock to the peripherial like ADC, SPI, USART? Why not only to ADC, SPI, USART but also to AFIO?