15.6.3.3.1 Function rtc_calendar_is_overflow()

Check if an RTC overflow has occurred.

bool rtc_calendar_is_overflow( struct rtc_module *const module)

Checks the overflow flag in the RTC. The flag is set when there is an overflow in the clock.

Table 15-27. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

Returns

Overflow state of the RTC module.

Table 15-28. Return Values
Return valueDescription

true

If the RTC count value has overflowed

false

If the RTC count value has not overflowed