15.6.3.3.6 Function rtc_calendar_clear_alarm_match()

Clears the RTC alarm match flag.

enum status_code rtc_calendar_clear_alarm_match( struct rtc_module *const module, const enum rtc_calendar_alarm alarm_index)

Clear the requested alarm match flag, so that future alarm matches can be determined.

Table 15-35. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[in]

alarm_index

The index of the alarm match to clear

Returns

Status of the alarm match clear operation.

Table 15-36. Return Values
Return valueDescription

STATUS_OK

If flag was cleared correctly

STATUS_ERR_INVALID_ARG

If invalid argument(s) were provided