[riot-notifications] [RIOT] [WIP] cpu/sam3x8e: Add pwm implementation (#3170)

Peter Kietzmann notifications at github.com
Mon Jun 8 17:10:17 CEST 2015


> @@ -342,6 +343,34 @@ extern "C" {
>  #define GPIO_B21_MAP        31
>  /** @} */
>  
> +/**
> + * @name PWM configuration
> + * @{
> + */
> +#define MCK_DIV_LB_MAX      (10U)

Ok I'm fine with the position and also with the name of that macro. I will trust you :-). Well, the periph_conf is meant to abstract the RIOT-driver from hardware specifics in general. In most cases that contains board specific things like pin mappings, but could also contain microcontroller attributes. If you compare #3095, this approach might change a bit in the midterm future, but I suggest to implement to "old" or "common" structure.

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


More information about the notifications mailing list