pll_drv.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PLLx06   ( (0<<PLLP2) | (0<<PLLP1) | (0<<PLLP0) )
#define PLLx03   ( (0<<PLLP2) | (0<<PLLP1) | (1<<PLLP0) )
#define Start_pll(clockfactor)   (PLLCSR = ( clockfactor | (1<<PLLE) ))
#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)),PLLCSR=0 )
 Stop the PLL.


Detailed Description

This file contains the low level macros and definition for the USB PLL - Compiler: IAR EWAVR and GNU GCC for AVR

Definition in file pll_drv.h.


Generated on Fri Sep 11 14:23:53 2009 for ATMEL by  doxygen 1.5.3