pcf8563_rtc_set_alarm

The interface has the following parameters.
  • Syntax:
    Static int pcf8563_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) 
  • Description: The function is used to set alarm time on AT8563 RTC device.
  • Parameter:
    • dev: The target RTC device.
    • alarm: The location where RTC time is stored.
  • Return:
    • Success: 0.
    • Failure: Error code.