Re: PWM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


viper@xxxxxxxxxxx wrote:
> Hi all,
> 
> I'm trying to driver some modell servos on my AT91RM9200 devboard. For
> this, I need PWM. Can anyone give me some hint (or example code) on this?

I posted a generic PWM API on linux-embedded, after posting an initial
version here for review.  The architecture is very similar to the gpio
approach: a common frontend that binds to device-specific drivers.
Might consider checking that out.

The code I posted contained an example driver for the Atmel PWMC
peripheral, and I also have a pseudo-device implementation that uses
gpio plus an hrtimer.  Supporting the TC peripheral found in the
RM9200 wouldn't be a big deal, especially after you see the code.


b.g.
-- 
Bill Gatliff
bgat@xxxxxxxxxxxxxxx

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter