AnsweredAssumed Answered

changing the prescaler of AHB and APB on STM32F4

Question asked by saad.anas on Jun 22, 2014
Latest reply on Jun 23, 2014 by Clive One
Hello everybody, is it possible to chage the prescaler of the bus APB or AHB on the STM32F4 dev board. In fact, I was taking a look on the library system_stm32f4xx.c and it was descripbing a few setting oh the microcontrollers including the prescaler of AHB, APB1 and APB2 (1, 4 and 2). So I am juste wondering if it's possible and if it is, wich function does the job.
NB : the functions are certainly not 
void RCC_PCLK1Config(uint32_t RCC_HCLK)
and
void RCC_PCLK2Config(uint32_t RCC_HCLK)
because in their description, they mensionned that they "configure the Low Speed APB clock" and not set the value of the prescaler as does
 void TIM_PrescalerConfig(TIM_TyoeDEF*  TIMx, uint16_t Prescaler, uint16_t TIM_PSCReloadMode )
and there are only 5 values possible to configure the clock wich not as chould be for a prescaler configuration.
Thank you for your support and have a nice day ;)


                                                                                   
void RCC_PCLK1Config(uint32_t RCC_HCLK)

Outcomes