chip/atxmega128a1/include/chip/tc.h File Reference

ATxmega128A1 chip-specific timer/counter definitions. More...

#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <clk/sys.h>
#include <regs/xmega_tc.h>

Go to the source code of this file.

Functions

static uint8_t tc_get_sysclk_port (uint8_t tc_id)
 Get the SYSCLK port for a specified tc_id.
static uint8_t tc_get_sysclk_id (uint8_t tc_id)
 Get the SYSCLK ID for a specified tc_id.
static void tc_enable_pclk (uint8_t tc_id)
 Enable the peripheral clock for a specified tc_id.
static void tc_disable_pclk (uint8_t tc_id)
 Disable the peripheral clock for a specified tc_id.
static bool tc_pclk_is_enabled (uint8_t tc_id)
 Return whether peripheral clock is enabled for a specified tc_id.
static uint32_t tc_get_pclk_hz (uint8_t tc_id)
 Get the clock frequency for a specified tc_id.

Detailed Description

ATxmega128A1 chip-specific timer/counter definitions.

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

Definition in file tc.h.

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