Microchip® Advanced Software Framework

rtc_calendar_interrupt.c File Reference

SAM RTC Driver (Calendar Interrupt Mode)

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

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 void _rtc_interrupt_handler ( const uint32_t  instance_index)
static

struct rtc_module* _rtc_instance[RTC_INST_NUM]