/* Get the RTC day threshold value in RTC_CR register.  */
u32 RTC_DayThresGet(void)
/* Get the RTC day threshold value in RTC_CR register.  */
u32 RTC_DayThresGet(void)
{
	RTC_TypeDef* RTC = ((RTC_TypeDef *) RTC_BASE);
	return ((RTC->CR & RTC_DAYTHRES_MSK) >>23);
}