15.6.3.3.3 Function rtc_calendar_is_periodic_interval()

Check if an RTC periodic interval interrupt has occurred.

bool rtc_calendar_is_periodic_interval( struct rtc_module *const module, enum rtc_calendar_periodic_interval n)

Checks the periodic interval flag in the RTC.

Table 15-30. Parameters
Data directionParameter nameDescription

[in, out]

module

RTC hardware module

[in]

n

RTC periodic interval interrupt

Returns

periodic interval interrupt state of the RTC module.

Table 15-31. Return Values
Return valueDescription

true

RTC periodic interval interrupt occurs

false

RTC periodic interval interrupt dosen't occurs