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

A-Paul notifications at github.com
Wed Jun 10 17:02:41 CEST 2015


> +            chan = PWM_0_DEV_CH6;
> +            break;
> +#endif
> +#if PWM_0_CHANNELS > 7
> +
> +        case 7:
> +            chan = PWM_0_DEV_CH7;
> +            break;
> +#endif
> +
> +        default:
> +            ;
> +    }
> +
> +    if (chan) {
> +        period = chan->PWM_CPRD & PWM_MAX_VALUE;

Also, thanks for pointing me at this code region, as I detected two other issues. I'm allowed/supposed to add notes to my own PR, I assume?

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


More information about the notifications mailing list