Lines Matching refs:curTimeAndDate
508 cy_stc_rtc_config_t curTimeAndDate; in Cy_RTC_SetDateAndTimeDirect() local
521 curTimeAndDate.sec = sec; in Cy_RTC_SetDateAndTimeDirect()
522 curTimeAndDate.min = min; in Cy_RTC_SetDateAndTimeDirect()
529 curTimeAndDate.hrFormat = CY_RTC_24_HOURS; in Cy_RTC_SetDateAndTimeDirect()
530 curTimeAndDate.hour = hour; in Cy_RTC_SetDateAndTimeDirect()
534 curTimeAndDate.hrFormat = CY_RTC_12_HOURS; in Cy_RTC_SetDateAndTimeDirect()
543 curTimeAndDate.hour = in Cy_RTC_SetDateAndTimeDirect()
546 curTimeAndDate.amPm = CY_RTC_PM; in Cy_RTC_SetDateAndTimeDirect()
553 curTimeAndDate.hour = ((hour == 0U) ? CY_RTC_HOURS_PER_HALF_DAY : hour); in Cy_RTC_SetDateAndTimeDirect()
554 curTimeAndDate.amPm = CY_RTC_AM; in Cy_RTC_SetDateAndTimeDirect()
557 …curTimeAndDate.dayOfWeek = Cy_RTC_ConvertDayOfWeek(date, month, (year + CY_RTC_TWO_THOUSAND_YEARS)… in Cy_RTC_SetDateAndTimeDirect()
558 curTimeAndDate.date = date; in Cy_RTC_SetDateAndTimeDirect()
559 curTimeAndDate.month = month; in Cy_RTC_SetDateAndTimeDirect()
560 curTimeAndDate.year = year; in Cy_RTC_SetDateAndTimeDirect()
562 ConstructTimeDate(&curTimeAndDate, &tmpTime, &tmpDate); in Cy_RTC_SetDateAndTimeDirect()