Which register to be used?
You should refer to the reference manual related to your device and you find all details about APBx prescaler and register.
okay. I do have the related reference manual but cant understand which particular register to use. Nothing is mentioned.
You should refer to the "Reset and clock control (RCC)" inside the RM0041, exactly the Figure 8. STM32F100xx clock tree (low and medium-density devices) to have idea about clock tree and in the "Clock configuration register (RCC_CFGR)"
You can use STM32CubeMx which is a graphical interface performs easy configuration and clock tree. (Please refer to "Clock tree configuration view" section on the UM1718 user manual).
Hope this help you.
Retrieving data ...