pcf8563_rtc_set_time

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