/* Gets the RTC current Calendar Sub seconds value.  */
uint32_t RTC_GetSubSecond(void)
/* Gets the RTC current Calendar Sub seconds value.  */
uint32_t RTC_GetSubSecond(void)
{
  uint32_t tmpreg = 0;
  tmpreg = (uint32_t)(RTC->SSR);
  (void) (RTC->DR);
  return (tmpreg);
}