/* Get the peripheral clock speed for the USART at base specified.  */
uint32_t rcc_get_usart_clk_freq(uint32_t usart)
/* Get the peripheral clock speed for the USART at base specified.  */
uint32_t rcc_get_usart_clk_freq(uint32_t usart)
{
	if (usart == USART1_BASE) {
		return rcc_apb2_frequency;
	} else {
		return rcc_apb1_frequency;
	}
}