drivers/clock_control/stm32f107xx_clock.c
/**
 * @brief map PLL multiplier setting to register value
 */
@brief map PLL multiplier setting to register value
@brief map PLL multiplier setting to register value
static int pllmul(int mul)
{
	if (mul == 13) {
		return 0xd;
	} else {
		return mul - 2;
	}
}
static int pllmul ( int mul ) { if ( mul == 13 ) { return 0xd ; } else { return mul - 2 ; } }
@brief map PLL multiplier setting to register value
@brief map PLL multiplier setting to register value
/* x4	-> 0x2
	 * x5	-> 0x3
	 * x6	-> 0x4
	 * x7	-> 0x5
	 * x8	-> 0x6
	 * x9	-> 0x7
	 * x6.5	-> 0xd
	 */ /* ToDo: do something with 6.5 multiplication */