Lines Matching refs:month
1787 uint32_t year = 0U, month = 0U, day = 0U; in RTC_DateUpdate() local
1794 month = hrtc->DateToUpdate.Month; in RTC_DateUpdate()
1799 if ((month == 1U) || (month == 3U) || (month == 5U) || (month == 7U) || \ in RTC_DateUpdate()
1800 (month == 8U) || (month == 10U) || (month == 12U)) in RTC_DateUpdate()
1809 if (month != 12U) in RTC_DateUpdate()
1811 month++; in RTC_DateUpdate()
1817 month = 1U; in RTC_DateUpdate()
1823 else if ((month == 4U) || (month == 6U) || (month == 9U) || (month == 11U)) in RTC_DateUpdate()
1832 month++; in RTC_DateUpdate()
1836 else if (month == 2U) in RTC_DateUpdate()
1851 month++; in RTC_DateUpdate()
1857 month++; in RTC_DateUpdate()
1867 hrtc->DateToUpdate.Month = month; in RTC_DateUpdate()
1871 hrtc->DateToUpdate.WeekDay = RTC_WeekDayNum(year, month, day); in RTC_DateUpdate()