[riot-notifications] [RIOT] drivers: add cc110x driver (#3716)

Kaspar Schleiser notifications at github.com
Wed Sep 23 09:07:54 CEST 2015


> +#include "periph/spi.h"
> +#include "periph/gpio.h"
> +#include "cc110x/cc110x-internal.h"
> +
> +/**
> + * @brief Struct for holding cc110x IO parameters
> + */
> +typedef struct cc110x_params {
> +    spi_t spi;
> +    gpio_t CS;
> +    gpio_t GDO0;
> +    gpio_t GDO1;
> +    gpio_t GDO2;
> +} cc110x_params_t;
> +
> +typedef struct cc110x cc110x_t;

No, as struct cc110x itself uses cc110x_t, the forward declaration is needed.

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


More information about the notifications mailing list