Microchip® Advanced Software Framework

adp_example_tc.c File Reference

ADP service example TC functions for SAM0.

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

#include <compiler.h>
#include <asf.h>
#include "adp_example_tc.h"
#include "conf_tc.h"

Functions

static void adp_example_tc_callback (struct tc_module *const module_inst)
 
static void adp_example_tc_configure (void)
 
static void adp_example_tc_configure_callback (void)
 
void adp_example_tc_init (void)
 

Variables

struct tc_module tc_instance
 
volatile bool time_out = true
 

static void adp_example_tc_callback ( struct tc_module *const  module_inst)
static

References time_out.

Referenced by adp_example_tc_configure_callback().

static void adp_example_tc_configure_callback ( void  )
static
void adp_example_tc_init ( void  )

struct tc_module tc_instance
volatile bool time_out = true

Referenced by adp_example_tc_callback(), and main().