Searched refs:CONVERT_DEC_TO_BCD (Results 1 – 1 of 1) sorted by relevance
41 #define CONVERT_DEC_TO_BCD(decNum) (decNum) macro44 #define CONVERT_DEC_TO_BCD(decNum) Cy_RTC_ConvertDecToBcd(decNum)732 … curTime = (_CLR_SET_FLD32U(curTime, BACKUP_RTC_TIME_RTC_HOUR, CONVERT_DEC_TO_BCD(hourValue))); in Cy_RTC_SetHoursFormat()742 CONVERT_DEC_TO_BCD(CY_RTC_HOURS_PER_HALF_DAY))); in Cy_RTC_SetHoursFormat()749 … curTime = (_CLR_SET_FLD32U(curTime, BACKUP_RTC_TIME_RTC_HOUR, CONVERT_DEC_TO_BCD(hourValue))); in Cy_RTC_SetHoursFormat()774 … curTime = (_CLR_SET_FLD32U(curTime, BACKUP_RTC_TIME_RTC_HOUR, CONVERT_DEC_TO_BCD(hourValue))); in Cy_RTC_SetHoursFormat()1684 tmpTime = (_VAL2FLD(BACKUP_RTC_TIME_RTC_SEC, CONVERT_DEC_TO_BCD(timeDate->sec))); in ConstructTimeDate()1685 tmpTime |= (_VAL2FLD(BACKUP_RTC_TIME_RTC_MIN, CONVERT_DEC_TO_BCD(timeDate->min))); in ConstructTimeDate()1708 (CONVERT_DEC_TO_BCD(timeDate->hour) & ((uint32_t) ~CY_RTC_12HRS_PM_BIT)))); in ConstructTimeDate()1713 tmpTime |= (_VAL2FLD(BACKUP_RTC_TIME_RTC_HOUR, CONVERT_DEC_TO_BCD(timeDate->hour))); in ConstructTimeDate()[all …]