SAM RTC Driver (Count Interrupt Mode)
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include "rtc_count_interrupt.h"
Functions | |
static void | _rtc_interrupt_handler (const uint32_t instance_index) |
void | rtc_count_disable_callback (struct rtc_module *const module, enum rtc_count_callback callback_type) |
Disables callback. More... | |
void | rtc_count_enable_callback (struct rtc_module *const module, enum rtc_count_callback callback_type) |
Enables callback. More... | |
enum status_code | rtc_count_register_callback (struct rtc_module *const module, rtc_count_callback_t callback, enum rtc_count_callback callback_type) |
Registers callback for the specified callback type. More... | |
enum status_code | rtc_count_unregister_callback (struct rtc_module *const module, enum rtc_count_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_COUNT_CALLBACK_COMPARE_0, RTC_COUNT_CALLBACK_COMPARE_1, RTC_COUNT_CALLBACK_COMPARE_2, RTC_COUNT_CALLBACK_COMPARE_3, RTC_COUNT_CALLBACK_COMPARE_4, RTC_COUNT_CALLBACK_COMPARE_5, and RTC_COUNT_CALLBACK_OVERFLOW.
struct rtc_module* _rtc_instance[RTC_INST_NUM] |
Referenced by _rtc_interrupt_handler(), and rtc_count_init().