pcf8563_rtc_read_time

The interface has the following parameters.
  • Syntax:
    static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm)
  • Description: The function is used to read RTC time information from AT8563 RTC devices.
  • Parameter:
    • dev: The target RTC device.
    • tem: The location where RTC time information is stored.
  • Return:
    • Success: 0.
    • Failure: Error code.