include/tc/tc_xmega.h File Reference

Generic AVR XMEGA timer/counter definitions. More...

#include <assert.h>
#include <stdint.h>
#include <chip/memory-map.h>
#include <chip/tc.h>

Go to the source code of this file.

Defines

#define tc_get_regs(id)   ((void *) (TC##id##_BASE))
 Get a pointer to the TC registers.

Functions

static uint8_t tc_select_clock (uint8_t tc_id, uint32_t resolution)
 Select clock for a specified TC and resolution.
static uint32_t tc_get_resolution (uint8_t tc_id, uint8_t clksel)
 Get the resolution for a specified TC and clock selection.

Detailed Description

Generic AVR XMEGA timer/counter definitions.

Copyright (C) 2010 Atmel Corporation. All rights reserved.

Definition in file tc_xmega.h.

Generated on Thu Apr 29 14:09:58 2010 for display-demo by  doxygen 1.6.3