/* Returns the clock source used as LSX clock (for TSC/LPRCNT).  */
uint32_t RCC_GetLSXClkSrc(void)
/* Returns the clock source used as LSX clock (for TSC/LPRCNT).  */
uint32_t RCC_GetLSXClkSrc(void)
{
    return ((uint32_t)(RCC->LDCTRL & RCC_LDCTRL_LSXSEL));
}