SAM RTC Driver (Calendar Interrupt Mode)
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include "rtc_calendar_interrupt.h"
Functions | |
static void | _rtc_interrupt_handler (const uint32_t instance_index) |
void | rtc_calendar_disable_callback (struct rtc_module *const module, enum rtc_calendar_callback callback_type) |
Disables callback. More... | |
void | rtc_calendar_enable_callback (struct rtc_module *const module, enum rtc_calendar_callback callback_type) |
Enables callback. More... | |
enum status_code | rtc_calendar_register_callback (struct rtc_module *const module, rtc_calendar_callback_t callback, enum rtc_calendar_callback callback_type) |
Registers callback for the specified callback type. More... | |
enum status_code | rtc_calendar_unregister_callback (struct rtc_module *const module, enum rtc_calendar_callback callback_type) |
Unregisters callback for the specified callback type. More... | |
Variables | |
struct rtc_module * | _rtc_instance [RTC_INST_NUM] |
|
static |
Interrupt handler for RTC
[in] | instance_index | Default value 0 |
References _rtc_instance, RTC_CALENDAR_CALLBACK_ALARM_0, RTC_CALENDAR_CALLBACK_ALARM_1, RTC_CALENDAR_CALLBACK_ALARM_2, RTC_CALENDAR_CALLBACK_ALARM_3, and RTC_CALENDAR_CALLBACK_OVERFLOW.
struct rtc_module* _rtc_instance[RTC_INST_NUM] |