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

A-Paul notifications at github.com
Mon Jun 8 15:25:35 CEST 2015


> @@ -342,6 +343,34 @@ extern "C" {
>  #define GPIO_B21_MAP        31
>  /** @} */
>  
> +/**
> + * @name PWM configuration
> + * @{
> + */
> +#define MCK_DIV_LB_MAX      (10U)
> +#define PWM_NUMOF           (1U)
> +#define PWM_0_EN            (1)
> +#define PWM_MAX_VALUE       (0xffff)
> +//#define PWM_MAX_CHANNELS    4
> +
> +/* Temporary PC2 -- Pin34 XIO-15 */

Just a relict from early implementation where I used channel 0, and therefore had to deactive GPIO 22. Will be removed.

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


More information about the notifications mailing list