SAM RTC Count Callback Quick Start.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
#include <asf.h>
Functions | |
void | configure_rtc_callbacks (void) |
[initialize_rtc] More... | |
void | configure_rtc_count (void) |
[callback] More... | |
int | main (void) |
[setup_callback] More... | |
void | rtc_overflow_callback (void) |
[rtc_module_instance] More... | |
Variables | |
struct rtc_module | rtc_instance |
[rtc_module_instance] More... | |
void configure_rtc_callbacks | ( | void | ) |
[initialize_rtc]
[callback]
[setup_callback]
[reg_callback]
[reg_callback] [en_callback]
[en_callback]
References RTC_COUNT_CALLBACK_OVERFLOW, rtc_count_enable_callback(), rtc_count_register_callback(), rtc_instance, and rtc_overflow_callback().
Referenced by main().
void configure_rtc_count | ( | void | ) |
[callback]
[initialize_rtc]
[init_conf]
[init_conf]
[set_config]
[set_config] [init_rtc]
[init_rtc]
[enable]
[enable]
int main | ( | void | ) |
[setup_callback]
[run_initialize_rtc]
[system_init]
[system_init]
[run_conf]
[run_conf]
[run_callback]
[run_callback]
[period]
[period] [run_initialize_rtc]
[while]
[while]
References configure_rtc_callbacks(), configure_rtc_count(), rtc_count_set_period(), rtc_instance, and system_init().
void rtc_overflow_callback | ( | void | ) |
[rtc_module_instance]
[callback]
[overflow_act]
[overflow_act]
References port_pin_toggle_output_level().
Referenced by configure_rtc_callbacks().
struct rtc_module rtc_instance |
[rtc_module_instance]
[rtc_module_instance]
[rtc_module_inst]