chip/at90usb1287/include/chip/sysclk.h File Reference

Chip-specific system clock management functions. More...

#include <chip/regs.h>
#include <assert.h>
#include <interrupt.h>
#include <stdint.h>

Go to the source code of this file.

Defines

Maskable module clock IDs

#define SYSCLK_ADC   0x0001
 A/D Converter.
#define SYSCLK_SPI   0x0004
 SPI controller.
#define SYSCLK_TC1   0x0008
 Timer/Counter 1.
#define SYSCLK_TC0   0x0020
 Timer/Counter 0.
#define SYSCLK_TC2   0x0040
 Timer/Counter 2.
#define SYSCLK_TWI   0x0080
 TWI controller.
#define SYSCLK_USART1   0x0101
 USART 1 replicated due to chip naming convention */.
#define SYSCLK_USART0   SYSCLK_USART1
#define SYSCLK_TC3   0x0108
 Timer/counter 3.
#define SYSCLK_USB   0x0180
 USB controller.

Functions

Enabling and disabling synchronous clocks

static void sysclk_enable_module (uint16_t id)
 Enable a module clock derived from the system clock.
static void sysclk_disable_module (uint16_t id)
 Disable a module clock derived from the system clock.
System Clock Initialization

static void sysclk_init (void)
 Initialize the synchronous clock system.

Detailed Description

Chip-specific system clock management functions.

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

Definition in file sysclk.h.

Generated on Thu Apr 29 14:10:34 2010 for xplain-bc by  doxygen 1.6.3