Microchip® Advanced Software Framework

qs_rtc_calendar_callback.c File Reference

SAM RTC Calendar Callback Quick Start.

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

#include <asf.h>

Functions

void configure_rtc_calendar (void)
 [setup_callback] More...
 
void configure_rtc_callbacks (void)
 [callback] More...
 
int main (void)
 [initialize_rtc] More...
 
void rtc_match_callback (void)
 [alarm_struct] More...
 

Variables

struct rtc_calendar_alarm_time alarm
 [rtc_module_instance] More...
 
struct rtc_module rtc_instance
 [rtc_module_instance] More...
 

void configure_rtc_calendar ( void  )

[setup_callback]

[initialize_rtc]

[init_conf]

[init_conf]

[time_struct]

[time_struct]

[set_config]

[set_config]

[init_rtc]

[init_rtc]

[enable]

[enable]

void configure_rtc_callbacks ( void  )

[callback]

[setup_callback]

[reg_callback]

[reg_callback] [en_callback]

[en_callback]

int main ( void  )

[initialize_rtc]

[run_initialize_rtc] [system_init]

[system_init]

[time]

[time]

[run_conf]

[run_conf]

[run_callback]

[run_callback]

[set_time]

[set_time] [run_initialize_rtc]

[while] [main_loop]

[main_loop]

[while]

References configure_rtc_calendar(), configure_rtc_callbacks(), rtc_calendar_time::day, rtc_calendar_time::hour, rtc_calendar_time::minute, rtc_calendar_time::month, rtc_calendar_get_time_defaults(), rtc_calendar_set_time(), rtc_instance, rtc_calendar_time::second, system_init(), and rtc_calendar_time::year.

void rtc_match_callback ( void  )

[rtc_module_instance]

[alarm_struct]

Referenced by configure_rtc_calendar(), and rtc_match_callback().

struct rtc_module rtc_instance