AVR32 - PWM4 Driver Documentation
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 (module version above 400) on UC3 products. This example shows how to configure a PWM and output it on a GPIO.
Operating mode:
Check the used PWM pin with an oscilloscope, you should see a PWM frequency of 2.8 MHz with a PWM duty cycle of 1/2.
- On UC3C_EK, PWM_L and PWM_H are pin number 40 (PB08) and pin number 41 (PB09) with AT32UC3C0512 in QFP144 package.
This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.
All AVR32 devices with a PWM module version above 400 can be used. This example has been tested with the following setup:
CPU speed:
External oscillator (16 MHz).
For more info about Atmel AVR32 visit
Atmel AVR32
Support and FAQ:
http://support.atmel.no/