Check if RTC compare match has occurred.
bool rtc_count_is_compare_match( struct rtc_module *const module, const enum rtc_count_compare comp_index)
Checks the compare flag to see if a match has occurred. The compare flag is set when there is a compare match between counter and the compare.
| Data direction | Parameter name | Description |
|---|---|---|
[in, out] |
module |
Pointer to the software instance struct |
[in] |
comp_index |
Index of compare to check current flag |