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 Is_pll_ready()   (PLLCSR & (1<<PLLOCK) )
 Return 1 if the PLL is ready.
#define Start_pll(frequency)   (PLLCSR = ( (((frequency>>6)&1)<<2) | (1<<1) ) )
 Start the PLL at the parameter frequency (only 64 or 32 MHz).
#define Start_pll_32_mega()   (PLLCSR = 0x02)
 Start the PLL at 32MHz.
#define Start_pll_64_mega()   (PLLCSR = 0x06)
 Start the PLL at 64MHz.
#define Stop_pll()   (PLLCSR = 0x00)
 Stop the PLL.
#define Wait_pll_ready()   while (!(PLLCSR & (1<<PLLOCK)))


Generated on Wed Jul 12 16:55:23 2006 for Atmel BLDC Sensorless on ATAVRMC100 by  doxygen 1.4.7