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.
| Data direction | Parameter name | Description |
|---|---|---|
|
[in, out] |
module |
Pointer to the software instance struct |
Returns
Overflow state of the RTC module.
| Return value | Description |
|---|---|
|
true |
If the RTC count value has overflowed |
|
false |
If the RTC count value has not overflowed |
