pll_drv.h File Reference

This file contains the low level macros and definition for the USB PLL. More...

Go to the source code of this file.

Defines

#define Start_pll(clockfactor)   (PLLCSR = ( clockfactor | (1<<PLLE) ))
 Start the PLL at only 48 MHz, regarding CPU frequency Start the USB PLL with clockfactor clockfactor can be PLLx24, PLLx12, PLLx08 PLLx06, PLLx04, PLLx03.
#define Is_pll_ready()   (PLLCSR & (1<<PLOCK) )
 return 1 when PLL locked
#define Wait_pll_ready()   while (!(PLLCSR & (1<<PLOCK)))
 Test PLL lock bit and wait until lock is set.
#define Stop_pll()   (PLLCSR &= (~(1<<PLLE)) )
 Stop the PLL.
#define Pll_start_auto()   Start_pll(PLLx06)
 Start the PLL in autofactor mode regarding FOSC define.

Detailed Description

This file contains the low level macros and definition for the USB PLL.

Application note:
AVR280: USB Host CDC Demonstration
Documentation
For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@atmel.com
Name
Revision
1.1
RCSfile
pll_drv.h,v
Date
2008/10/14 20:16:36


Id
pll_drv.h,v 1.1 2008/10/14 20:16:36 c_oflynn Exp

Definition in file pll_drv.h.


Generated on Mon Apr 11 14:23:47 2011 for Contiki 2.5 by  doxygen 1.6.1