# AVR32 - PM Driver Documentation

## Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the power manager driver.
It also gives an example of the usage of the PM on AVR32 products.
This example shows:

- how to configure a PLL and switch the main clock to PLL output,
- configure a Generic Clock and output it to a GPIO pin,
- LED0 blinks endlessly.

## Main Files

- pm_at32ap7000.c: power manager driver
- pm_at32ap7000.h: power manager driver header file
- pm_example2.c: power manager example application

## Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

## Device Info

All AVR32 devices with a PM module can be used. This example has been tested with the following setup:

- STK1000 starter kit

## Setup Information

CPU speed: 100 MHz

- On STK1000, check GCLK0 pin with an oscilloscope, the frequency should be 100MHz. On STK1000, GCLK_0 is found on PCI style connector (J18) pin number A21.
- Check that LED0 blinks.

## Contact Info

For more info about Atmel AVR32 visit
Atmel AVR32
Support and FAQ: http://support.atmel.no/