[riot-notifications] [RIOT] cpu/samd21: added peripheral PWM driver (#3127)

Peter Kietzmann notifications at github.com
Mon Jun 1 20:28:10 CEST 2015


> +    pwm_conf_chan_t chan[2];    /**< channel configuration */
> +} pwm_conf_t;
> +
> +/* PWM device configuration */
> +#if PWM_NUMOF
> +static const pwm_conf_t pwm_config[] = {
> +#if PWM_0_EN
> +    {TCC1, {
> +        {(PortGroup *)0x41004400, 6, 4, 0}, /* port 0, pin 6, af E, chan 0 */
> +        {(PortGroup *)0x41004400, 7, 4, 1}  /* port 0, pin 7, af E, chan 1 */
> +    }},
> +#endif
> +#if PWM_1_EN
> +    {TCC0, {
> +        {(PortGroup *)0x41004400, 18, 5, 2},
> +        {(PortGroup *)0x41004400, 19, 5, 3}

No access rights

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


More information about the notifications mailing list