voidTM_RTC_Config(TM_RTC_ClockSource_t source){if(source == TM_RTC_ClockSource_Internal) {/* Enable the LSI OSC */RCC_LSICmd(ENABLE);/* Wait till LSI is ready */while(RCC_GetFlagStatus(RCC_FLAG_LSIRDY) == RESET);/* Select the RTC Clock Source */RCC_RTCCLKConfig(RCC_RTCCLKSource...