- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# 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 | PLLx24 ( (0<<PLLP2) | (0<<PLLP1) | (0<<PLLP0) )
#define | PLLx12 ( (0<<PLLP2) | (0<<PLLP1) | (1<<PLLP0) )
#define | PLLx08 ( (0<<PLLP2) | (1<<PLLP1) | (0<<PLLP0) )
#define | PLLx06 ( (0<<PLLP2) | (1<<PLLP1) | (1<<PLLP0) )
#define | PLLx04 ( (1<<PLLP2) | (0<<PLLP1) | (0<<PLLP0) )
#define | PLLx04_8 ( (1<<PLLP2) | (1<<PLLP1) | (0<<PLLP0) )
#define | PLLx02 ( (1<<PLLP2) | (1<<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

- Supported devices: AT90USB1287, AT90USB1286, AT90USB647, AT90USB646
  Author:
    Atmel Corporation: http://www.atmel.com
    Support and FAQ: http://support.atmel.no/

Definition in file pll_drv.h.