|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
TCS3472 user interface struct. More...
#include <TCS3472_proc.h>

Data Fields | ||
| uint16_t | Red | |
| Current Red conversion. | ||
| uint16_t | Green | |
| Current Green conversion. | ||
| uint16_t | Blue | |
| Current Blue conversion. | ||
| uint16_t | Clear | |
| Current Clear conversion. | ||
| uint32_t | Lux | |
| Current Illuminance (lux) | ||
| uint32_t | Temp | |
| Current Color temperature (in Kelvin) | ||
| float | xy [2] | |
| Current CIE1931 chromacity coordinates. | ||
| float | IR_Ratio | |
| Current IR Ratio (in percent) | ||
| float | Saturation_Ratio | |
| Current Saturation ration(in percent) | ||
| bool | SaturationRipple | |
| Current Ripple saturation status (75% of saturation value) | ||
| bool | Saturation | |
| Current Sensor saturation status. | ||
| struct { | ||
| I2C_slave_t * slave_inst | ||
| Slave structure. More... | ||
| PeripheralGPIO_t INT_GPIO | ||
| Interrupt GPIO struct. More... | ||
| float mat [3][3] | ||
| RGB to XYZ matrix. More... | ||
| TCS3472_gain Gain | ||
| Sensor gain config. More... | ||
| uint8_t Integ_reg | ||
| Sensor integration time config (value written to register) More... | ||
| uint16_t Integ | ||
| Sensor integration time config. More... | ||
| uint16_t Wait | ||
| Sensor wait time config. More... | ||
| uint16_t LowThreshold | ||
| Low Threshold config. More... | ||
| uint16_t HighThreshold | ||
| High Threshold config. More... | ||
| bool AIEN | ||
| Sensor ALS (Ambient Light Sensing) interrupts enabled config. More... | ||
| bool WEN | ||
| Wait between ALS conversions enabled config. More... | ||
| uint8_t ChipID | ||
| Chip ID. More... | ||
| } | cfg | |
TCS3472 user interface struct.
| bool TCS3472_t::AIEN |
Sensor ALS (Ambient Light Sensing) interrupts enabled config.
| uint16_t TCS3472_t::Blue |
Current Blue conversion.
| struct { ... } TCS3472_t::cfg |
| uint8_t TCS3472_t::ChipID |
Chip ID.
| uint16_t TCS3472_t::Clear |
Current Clear conversion.
| TCS3472_gain TCS3472_t::Gain |
Sensor gain config.
| uint16_t TCS3472_t::Green |
Current Green conversion.
| uint16_t TCS3472_t::HighThreshold |
High Threshold config.
| PeripheralGPIO_t TCS3472_t::INT_GPIO |
Interrupt GPIO struct.
| uint16_t TCS3472_t::Integ |
Sensor integration time config.
| uint8_t TCS3472_t::Integ_reg |
Sensor integration time config (value written to register)
| float TCS3472_t::IR_Ratio |
Current IR Ratio (in percent)
| uint16_t TCS3472_t::LowThreshold |
Low Threshold config.
| uint32_t TCS3472_t::Lux |
Current Illuminance (lux)
| float TCS3472_t::mat[3][3] |
RGB to XYZ matrix.
| uint16_t TCS3472_t::Red |
Current Red conversion.
| bool TCS3472_t::Saturation |
Current Sensor saturation status.
| float TCS3472_t::Saturation_Ratio |
Current Saturation ration(in percent)
| bool TCS3472_t::SaturationRipple |
Current Ripple saturation status (75% of saturation value)
| I2C_slave_t* TCS3472_t::slave_inst |
Slave structure.
| uint32_t TCS3472_t::Temp |
Current Color temperature (in Kelvin)
| uint16_t TCS3472_t::Wait |
Sensor wait time config.
| bool TCS3472_t::WEN |
Wait between ALS conversions enabled config.
| float TCS3472_t::xy[2] |
Current CIE1931 chromacity coordinates.