Microchip® Advanced Software Framework

tc_example4.c File Reference

AVR XMEGA TC Driver Example 4.

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

#include <conf_example.h>
#include <asf.h>

Functions

void cca_callback (void)
 Callback function for TC_CCA interrupt. More...
 
int main (void)
 Main application routine. More...
 

void cca_callback ( void  )

Callback function for TC_CCA interrupt.

This function reads the result from tc frequency capture and displays the lower 8 bits of the result on leds.

References TC_CCA, and tc_read_cc().

Referenced by main().