Microchip® Advanced Software Framework

qs_tc_callback.c File Reference

SAM TC - Timer Counter Callback Driver Quick Start.

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

#include <conf_quick_start_callback.h>
#include <asf.h>

Functions

void configure_tc (void)
 [callback_funcs] More...
 
void configure_tc_callbacks (void)
 
int main (void)
 [setup] More...
 
void tc_callback_to_change_duty_cycle (struct tc_module *const module_inst)
 [module_inst] More...
 

Variables

struct tc_module tc_instance
 [module_inst] More...
 

void configure_tc ( void  )

[callback_funcs]

[setup]

[setup_config]

[setup_config] [setup_config_defaults]

[setup_config_defaults]

[setup_change_config]

[setup_change_config]

[setup_change_config_pwm]

[setup_change_config_pwm]

[setup_set_config]

[setup_set_config]

[setup_enable]

[setup_enable]

void configure_tc_callbacks ( void  )

[setup_register_callback]

[setup_register_callback]

[setup_enable_callback]

[setup_enable_callback]

int main ( void  )

[setup]

[setup_init]

[setup_init]

[main]

[enable_global_interrupts]

[enable_global_interrupts]

[main_loop]

[main_loop]

[main]

References configure_tc(), configure_tc_callbacks(), system_init(), and system_interrupt_enable_global().

void tc_callback_to_change_duty_cycle ( struct tc_module *const  module_inst)

[module_inst]

[callback_funcs]

References i, TC_COMPARE_CAPTURE_CHANNEL_0, and tc_set_compare_value().

struct tc_module tc_instance

[module_inst]