/* Returns the clock source used as system clock.  */
u8 RCC_GetSYSCLKSource(void)
/* Returns the clock source used as system clock.  */
u8 RCC_GetSYSCLKSource(void)
{
    return ((u8)READ_BIT(RCC->CFGR, RCC_CFGR_SWS));
}