/* Select the source of Microcontroller Clock Output. 
@parame mcosrc the unshifted source bits  */
void rcc_set_mco(uint32_t mcosrc)
/* Select the source of Microcontroller Clock Output. 
@parame mcosrc the unshifted source bits  */
void rcc_set_mco(uint32_t mcosrc)
{
	RCC_CFGR = (RCC_CFGR & ~(RCC_CFGR_MCO_MASK << RCC_CFGR_MCO_SHIFT)) |
			(mcosrc << RCC_CFGR_MCO_SHIFT);
}