# AVR32 - PWM Driver Documentation

## Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the PWM driver.
It also gives an example of the usage of the PWM on AVR32 products. This example shows how to configure a PWM and output it on a GPIO.
Operating mode: Check PWM0 pin with an oscilloscope, you should see a PWM frequency of 19.5 Hz with a PWM duty cycle of 3/4. On STK1000, PWM0 is located on PCI type connector pin B3.

## Main Files

- pwm.c: PWM driver
- pwm.h: PWM driver header file
- pwm_example.c: PWM 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 PWM module can be used. This example has been tested with the following setup:

- STK1000 starter kit

## Setup Information

CPU speed: 20 MHz

## Contact Info

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