rtc_update_irq

The interface has the following parameters.
  • Syntax:
    void rtc_update_irq(struct rtc_device *rtc, unsigned long num, unsigned long events)
  • Description: The function is used to clear the outdated alarms when an RTC interrupt occurs.
  • Parameter:
    • rtc: The target RTC device.
    • num: The number of the IRQ events reported. (Usually only 1 event is reported. )
    • events: The mask of RTC_IRQF with one or more of RTC_PF, RTC_AF, RTC_UF.
  • Return: None