|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TCS3472 Driver procedures. More...


Data Structures | |
| struct | TCS3472_t |
| TCS3472 user interface struct. More... | |
Macros | |
| #define | TCS34725_CHIP_ID 0x44U |
| TCS34721/TCS34725 Chip ID to check against. | |
| #define | TCS34727_CHIP_ID 0x4DU |
| TCS34723/TCS34727 Chip ID to check against. | |
| #define | TCS3472_IR_COUNT 0.0f |
| Counts per uW/cm2 for IR channel. | |
| #define | TCS3472_CLEAR_COUNT 0.0f |
| Counts per uW/cm2 for Clear channel. | |
| #define | TCS3472_RED_COUNT 0.0f |
| Counts per uW/cm2 for Red channel. | |
| #define | TCS3472_GREEN_COUNT 0.0f |
| Counts per uW/cm2 for Green channel. | |
| #define | TCS3472_BLUE_COUNT 0.0f |
| Counts per uW/cm2 for Blue channel. | |
Functions | |
| FctERR | TCS3472_Init_Sequence (TCS3472_t *const pCpnt) |
| Initialization Sequence for TCS3472 peripheral. | |
| uint32_t | TCS3472_Get_Temp (const TCS3472_t *const pCpnt) |
| Get current Color temperature (in Kelvin) | |
| uint32_t | TCS3472_Get_Lux (const TCS3472_t *const pCpnt) |
| Get current Illuminance (in lux) | |
| FctERR | TCS3472_handler (TCS3472_t *const pCpnt) |
| Handler for TCS3472 peripheral. | |
| FctERR | TCS3472_handler_it (TCS3472_t *const pCpnt) |
| Handler for TCS3472 peripheral GPIO interrupt. | |
| FctERR | TCS3472_handler_all (void) |
| Handler for all TCS3472 peripherals. | |
| FctERR | TCS3472_handler_it_all (void) |
| Handler for all TCS3472 peripherals GPIO interrupt. | |
Variables | |
| TCS3472_t | TCS3472 [I2C_TCS3472_NB] |
| TCSL3472 User structure. | |
TCS3472 Driver procedures.
TCS3472: Color light-to-digital converter with IR filter
| #define TCS34725_CHIP_ID 0x44U |
TCS34721/TCS34725 Chip ID to check against.
| #define TCS34727_CHIP_ID 0x4DU |
TCS34723/TCS34727 Chip ID to check against.
| #define TCS3472_BLUE_COUNT 0.0f |
Counts per uW/cm2 for Blue channel.
| #define TCS3472_CLEAR_COUNT 0.0f |
Counts per uW/cm2 for Clear channel.
| #define TCS3472_GREEN_COUNT 0.0f |
Counts per uW/cm2 for Green channel.
| #define TCS3472_IR_COUNT 0.0f |
Counts per uW/cm2 for IR channel.
| #define TCS3472_RED_COUNT 0.0f |
Counts per uW/cm2 for Red channel.
|
inline |
Get current Illuminance (in lux)
| [in] | pCpnt | - Pointer to TCS3472 component |
|
inline |
Get current Color temperature (in Kelvin)
| [in] | pCpnt | - Pointer to TCS3472 component |
| FctERR TCS3472_handler | ( | TCS3472_t *const | pCpnt | ) |
Handler for TCS3472 peripheral.
| [in] | pCpnt | - Pointer to TCS3472 component |


| FctERR TCS3472_handler_all | ( | void | ) |
Handler for all TCS3472 peripherals.

| FctERR TCS3472_handler_it | ( | TCS3472_t *const | pCpnt | ) |
Handler for TCS3472 peripheral GPIO interrupt.
| [in] | pCpnt | - Pointer to TCS3472 component |


| FctERR TCS3472_handler_it_all | ( | void | ) |
Handler for all TCS3472 peripherals GPIO interrupt.

| FctERR TCS3472_Init_Sequence | ( | TCS3472_t *const | pCpnt | ) |
Initialization Sequence for TCS3472 peripheral.
| [in] | pCpnt | - Pointer to TCS3472 component |


|
extern |
TCSL3472 User structure.