14.7.3.3.5 Function rtc_count_is_compare_match()

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.

Note: Compare 4 and 5 are only available in 16-bit mode.
Table 14-33. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[in]

comp_index

Index of compare to check current flag