Atmel Software Framework

clock_example3_xmega.c File Reference

Clock system example 3.

Copyright (c) 2010-2015 Atmel Corporation. All rights reserved.

#include <compiler.h>
#include <ioport.h>
#include <sysclk.h>
#include <delay.h>
#include <conf_example3.h>

Functions

int main (void)
 
static void tc_init (void)
 
static void wait_for_switches (void)
 

static void tc_init ( void  )
static

References sysclk_enable_module(), SYSCLK_HIRES, and SYSCLK_TC0.

Referenced by main().

static void wait_for_switches ( void  )
static

References delay_ms, ioport_pin_is_high(), and ioport_pin_is_low().

Referenced by main().