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.
Data direction | Parameter name | Description |
---|---|---|
[in, out] |
module |
RTC hardware module |
[in] |
n |
RTC periodic interval interrupt |
Returns
Periodic interval interrupt state of the RTC module.
Return value | Description |
---|---|
true |
RTC periodic interval interrupt occurs |
false |
RTC periodic interval interrupt doesn't occur |