[riot-notifications] [RIOT] Sam3x8e periph pwm (#3170)

A-Paul notifications at github.com
Fri Jun 5 17:35:20 CEST 2015


**cpu/sam3x8e: Add pwm implementation.**

As a starting contribution here's is my, almost complete, pwm code.
At the moment it's working with one device and four channels on the prescribed outputs on arduino-due.
The  application in "tests/peroph_pwm" is happy with the interface. A scope shows a full range ratio sweep with precise 1kHz base frequency.

There is still a bunch of todos, so I continue changing/extending om
* Selective number of channels.
* Errror checking, input validation.
* Selection of align mode.
* ... your suggestions

I would be pleased if you spend some time and give me our feedback.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3170

-- Commit Summary --

  * GS: Feature pwm activated
  * Activated pwm.h with a one channel PWM device in periph_conf.h.
  * Stub for "cpu/sam3x8e/periph/pwm.c"
  * Merge branch 'master' into gs_hist
  * Merge branch 'gs_hist' into sam3x8e-periph-pwm. From experimenting to serious coding.
  * Import patch from untracked vault.
  * Some housekeeping
  * GS: Feature pwm activated
  * Activated pwm.h with a one channel PWM device in periph_conf.h.
  * Stub for "cpu/sam3x8e/periph/pwm.c"
  * Import patch from untracked vault.
  * Some housekeeping
  * Merge branch 'sam3x8e-periph-pwm' of github.com:A-Paul/RIOT into sam3x8e-periph-pwm

-- File Changes --

    M boards/arduino-due/Makefile.features (1)
    M boards/arduino-due/include/periph_conf.h (29)
    A cpu/sam3x8e/periph/pwm.c (258)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3170.patch
https://github.com/RIOT-OS/RIOT/pull/3170.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3170
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150605/1769a036/attachment.html>


More information about the notifications mailing list