[riot-notifications] [RIOT] Driver for TCS3772 Color Light-to-Digital Converter (#3135)

Johann Fischer notifications at github.com
Mon Jun 1 10:10:58 CEST 2015


> +/**
> + * @brief Control Register
> + */
> +#define TCS37727_CONTROL_PDRIVE_100    0x00 /* 100 mA LED Drive Strength */
> +#define TCS37727_CONTROL_PDRIVE_50     0x04 /* 50 mA LED Drive Strength */
> +#define TCS37727_CONTROL_PDRIVE_25     0x08 /* 25 mA LED Drive Strength */
> +#define TCS37727_CONTROL_PDRIVE_12     0x0C /* 12.5 mA LED Drive Strength */
> +#define TCS37727_CONTROL_AGAIN_1       0x00 /* 1 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_4       0x01 /* 4 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_16      0x02 /* 16 × gain RGBC Gain Value */
> +#define TCS37727_CONTROL_AGAIN_60      0x03 /* 60 × gain RGBC Gain Value */
> +
> +/**
> + * @brief  Device ID
> + */
> +#define TCS37727_DID_VALUE         0x49

It is the contents of a register. However, it should be called TCS37727_ID_VALUE .

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


More information about the notifications mailing list