Lines Matching full:rtc
8 * Epson RX8025 RTC driver.
13 #include <rtc.h>
31 * RTC register addresses
58 * Note: the RX8025 I2C RTC requires register
76 * Get the current time from the RTC
85 printf("Error reading from RTC\n"); in rtc_get()
95 DEBUGR ("Get RTC year: %02x mon: %02x mday: %02x wday: %02x " in rtc_get()
102 printf("RTC: power-on detected\n"); in rtc_get()
107 printf("RTC: voltage drop detected\n"); in rtc_get()
112 printf("RTC: oscillator stop detected\n"); in rtc_get()
138 * Set the RTC
163 * Reset the RTC
171 printf("Error reading from RTC\n"); in rtc_reset()
188 printf("Error writing to RTC\n"); in rtc_write()