|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
APDS9960 user interface struct. More...
#include <APDS9960_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. | ||
| uint8_t | Prox | |
| Current Proximity raw value. | ||
| 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 ratio (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... | ||
| APDS9960_als_gain ADC_Gain | ||
| ADC (ALS & Color) sensor gain config. More... | ||
| APDS9960_prox_gain Prox_Gain | ||
| Proximity sensor gain config. More... | ||
| APDS9960_pulse_length Prox_Length | ||
| Proximity LED pulse length. More... | ||
| APDS9960_drive_strength Prox_Strength | ||
| Proximity LED drive strength. More... | ||
| uint8_t Prox_Pulses | ||
| Proximity pulses sent in a cycle. More... | ||
| uint8_t ADC_Integ_reg | ||
| ADC (ALS & Color) sensor integration time config (value written to register) More... | ||
| uint16_t ADC_Integ | ||
| ADC (ALS & Color) sensor integration time config. More... | ||
| uint16_t Wait | ||
| Sensor wait time config. More... | ||
| uint16_t ADC_LowThreshold | ||
| ADC (ALS & Color) Low Threshold config. More... | ||
| uint16_t ADC_HighThreshold | ||
| ADC (ALS & Color) High Threshold config. More... | ||
| uint8_t Prox_LowThreshold | ||
| Proximity Low Threshold config. More... | ||
| uint8_t Prox_HighThreshold | ||
| Proximity High Threshold config. More... | ||
| bool AIEN | ||
| Sensor ALS (Ambient Light Sensing) interrupts enabled config. More... | ||
| bool PIEN | ||
| Sensor Proximity interrupts enabled config. More... | ||
| bool GIEN | ||
| Gestures enabled config. More... | ||
| bool WEN | ||
| Wait between conversions enabled config. More... | ||
| uint8_t ChipID | ||
| chip ID More... | ||
| } | cfg | |
APDS9960 user interface struct.
| APDS9960_als_gain APDS9960_t::ADC_Gain |
ADC (ALS & Color) sensor gain config.
| uint16_t APDS9960_t::ADC_HighThreshold |
ADC (ALS & Color) High Threshold config.
| uint16_t APDS9960_t::ADC_Integ |
ADC (ALS & Color) sensor integration time config.
| uint8_t APDS9960_t::ADC_Integ_reg |
ADC (ALS & Color) sensor integration time config (value written to register)
| uint16_t APDS9960_t::ADC_LowThreshold |
ADC (ALS & Color) Low Threshold config.
| bool APDS9960_t::AIEN |
Sensor ALS (Ambient Light Sensing) interrupts enabled config.
| uint16_t APDS9960_t::Blue |
Current Blue conversion.
| struct { ... } APDS9960_t::cfg |
| uint8_t APDS9960_t::ChipID |
chip ID
| uint16_t APDS9960_t::Clear |
Current Clear conversion.
| bool APDS9960_t::GIEN |
Gestures enabled config.
| uint16_t APDS9960_t::Green |
Current Green conversion.
| PeripheralGPIO_t APDS9960_t::INT_GPIO |
Interrupt GPIO struct.
| float APDS9960_t::IR_Ratio |
Current IR ratio (in percent)
| uint32_t APDS9960_t::Lux |
Current Illuminance (lux)
| float APDS9960_t::mat[3][3] |
RGB to XYZ matrix.
| bool APDS9960_t::PIEN |
Sensor Proximity interrupts enabled config.
| uint8_t APDS9960_t::Prox |
Current Proximity raw value.
| APDS9960_prox_gain APDS9960_t::Prox_Gain |
Proximity sensor gain config.
| uint8_t APDS9960_t::Prox_HighThreshold |
Proximity High Threshold config.
| APDS9960_pulse_length APDS9960_t::Prox_Length |
Proximity LED pulse length.
| uint8_t APDS9960_t::Prox_LowThreshold |
Proximity Low Threshold config.
| uint8_t APDS9960_t::Prox_Pulses |
Proximity pulses sent in a cycle.
| APDS9960_drive_strength APDS9960_t::Prox_Strength |
Proximity LED drive strength.
| uint16_t APDS9960_t::Red |
Current Red conversion.
| bool APDS9960_t::Saturation |
Current Sensor saturation status.
| float APDS9960_t::Saturation_Ratio |
Current Saturation ratio (in percent)
| bool APDS9960_t::SaturationRipple |
Current Ripple saturation status (75% of saturation value)
| I2C_slave_t* APDS9960_t::slave_inst |
Slave structure.
| uint32_t APDS9960_t::Temp |
Current Color temperature (in Kelvin)
| uint16_t APDS9960_t::Wait |
Sensor wait time config.
| bool APDS9960_t::WEN |
Wait between conversions enabled config.
| float APDS9960_t::xy[2] |
Current CIE1931 chromacity coordinates.