Atmel Software Framework

classb_freq.c File Reference

CPU frequency test.

Application note:
AVR1610: Guide to IEC60730 Class B compliance with XMEGA

Copyright (C) 2011-2015 Atmel Corporation. All rights reserved.

#include <asf.h>
#include "classb_freq.h"

Functions

void classb_freq_callback (void)
 Callback function for the RTC interrupt. More...
 
void classb_freq_setup_timer (void)
 Set up the TC for use in the frequency test. More...
 
void classb_freq_tc_callback (void)
 TC overflow interrupt. More...
 

Variables

volatile uint16_t classb_tc_ovf_cnt = 0
 Counter variable for the number of TC overflows. More...