Searched refs:RTC_HOUR (Results 1 – 1 of 1) sorted by relevance
49 #define RTC_HOUR 0x2 macro119 0x23 < data[RTC_HOUR] || 0x09 < (data[RTC_HOUR] & 0x0F) || in rtc_validate()133 data[RTC_HOUR] = 0x00; in rtc_validate()157 tmp->tm_hour = bcd2bin(data[RTC_HOUR] & 0x3F); in rtc_get()185 data[RTC_HOUR] = bin2bcd(tmp->tm_hour) & 0x3F; in rtc_set()