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 | ) |
[alarm_struct]
[callback]
[alarm_mask]
[alarm_mask]
[set_alarm]
[set_alarm]
References alarm, rtc_calendar_alarm_time::mask, port_pin_toggle_output_level(), RTC_CALENDAR_ALARM_0, RTC_CALENDAR_ALARM_MASK_SEC, rtc_calendar_set_alarm(), rtc_instance, rtc_calendar_time::second, and rtc_calendar_alarm_time::time.
struct rtc_calendar_alarm_time alarm |
[rtc_module_instance]
[alarm_struct]
Referenced by configure_rtc_calendar(), and rtc_match_callback().
struct rtc_module rtc_instance |
[rtc_module_instance]
[rtc_module_instance]
[rtc_module_inst]
Referenced by configure_rtc(), configure_rtc_calendar(), configure_rtc_callbacks(), configure_rtc_count(), get_fattime(), main(), rtc_match_callback(), rtc_setup(), and run_dac_event_control_test().