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

Peter Kietzmann notifications at github.com
Wed Jun 10 08:40:03 CEST 2015


> +    PWM_0_PORT_CH4->PIO_ABSR |= PWM_0_PIN_CH4;
> +#endif
> +#if PWM_0_CHANNELS > 5
> +    PWM_0_PORT_CH5->PIO_PDR  |= PWM_0_PIN_CH5;
> +    PWM_0_PORT_CH5->PIO_ABSR |= PWM_0_PIN_CH5;
> +#endif
> +#if PWM_0_CHANNELS > 6
> +    PWM_0_PORT_CH6->PIO_PDR  |= PWM_0_PIN_CH6;
> +    PWM_0_PORT_CH6->PIO_ABSR |= PWM_0_PIN_CH6;
> +#endif
> +#if PWM_0_CHANNELS > 7
> +    PWM_0_PORT_CH7->PIO_PDR  |= PWM_0_PIN_CH7;
> +    PWM_0_PORT_CH7->PIO_ABSR |= PWM_0_PIN_CH7;
> +#endif
> +
> +    return retval;

same as above..

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


More information about the notifications mailing list