14.7.3.3.3 Function rtc_count_is_periodic_interval()

Check if an RTC periodic interval interrupt has occurred.

bool rtc_count_is_periodic_interval( struct rtc_module *const module, enum rtc_count_periodic_interval n)

Checks the periodic interval flag in the RTC.

Table 14-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 14-31. Return Values
Return valueDescription

true

RTC periodic interval interrupt occurs

false

RTC periodic interval interrupt doesn't occur