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

Data Fields | |
| uint16_t | Full |
| Current Full spectrum raw value. | |
| uint16_t | IR |
| Current IR raw value. | |
| uint16_t | Prox |
| Current Proximity raw value. | |
| uint32_t | Lux |
| Current Illuminance (lux). | |
| float | IRF |
| Current Current IR ratio. | |
| 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 GA | |
| Glass attenuation factor. More... | |
| float LPC | |
| Lux per count config. More... | |
| APDS9930_als_gain_ex ALS_Gain | |
| ALS sensor gain config. More... | |
| APDS9930_prox_gain Prox_Gain | |
| Proximity sensor gain config. More... | |
| APDS9930_drive_strength_ex Prox_Strength | |
| Proximity LED drive strength. More... | |
| uint8_t Prox_Pulses | |
| Proximity pulses sent in a cycle. More... | |
| uint8_t ALS_Integ_reg | |
| ALS sensor integration time config (value written to register). More... | |
| uint16_t ALS_Integ | |
| ALS sensor integration time config. More... | |
| uint16_t Prox_Integ | |
| Proximity sensor integration time config. More... | |
| uint16_t Wait | |
| Sensor wait time config. More... | |
| uint16_t ALS_LowThreshold | |
| ALS Low Threshold config. More... | |
| uint16_t ALS_HighThreshold | |
| ALS High Threshold config. More... | |
| uint16_t Prox_LowThreshold | |
| Proximity Low Threshold config. More... | |
| uint16_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 WEN | |
| Wait between conversions enabled config. More... | |
| uint8_t ChipID | |
| Chip ID. More... | |
| } | cfg |
APDS9930 user interface struct.
| bool APDS9930_t::AIEN |
Sensor ALS (Ambient Light Sensing) interrupts enabled config.
| APDS9930_als_gain_ex APDS9930_t::ALS_Gain |
ALS sensor gain config.
| uint16_t APDS9930_t::ALS_HighThreshold |
ALS High Threshold config.
| uint16_t APDS9930_t::ALS_Integ |
ALS sensor integration time config.
| uint8_t APDS9930_t::ALS_Integ_reg |
ALS sensor integration time config (value written to register).
| uint16_t APDS9930_t::ALS_LowThreshold |
ALS Low Threshold config.
| struct { ... } APDS9930_t::cfg |
| uint8_t APDS9930_t::ChipID |
Chip ID.
| uint16_t APDS9930_t::Full |
Current Full spectrum raw value.
| float APDS9930_t::GA |
Glass attenuation factor.
| PeripheralGPIO_t APDS9930_t::INT_GPIO |
Interrupt GPIO struct.
| uint16_t APDS9930_t::IR |
Current IR raw value.
| float APDS9930_t::IRF |
Current Current IR ratio.
| float APDS9930_t::LPC |
Lux per count config.
| uint32_t APDS9930_t::Lux |
Current Illuminance (lux).
| bool APDS9930_t::PIEN |
Sensor Proximity interrupts enabled config.
| uint16_t APDS9930_t::Prox |
Current Proximity raw value.
| APDS9930_prox_gain APDS9930_t::Prox_Gain |
Proximity sensor gain config.
| uint16_t APDS9930_t::Prox_HighThreshold |
Proximity High Threshold config.
| uint16_t APDS9930_t::Prox_Integ |
Proximity sensor integration time config.
| uint16_t APDS9930_t::Prox_LowThreshold |
Proximity Low Threshold config.
| uint8_t APDS9930_t::Prox_Pulses |
Proximity pulses sent in a cycle.
| APDS9930_drive_strength_ex APDS9930_t::Prox_Strength |
Proximity LED drive strength.
| bool APDS9930_t::Saturation |
Current Sensor saturation status.
| bool APDS9930_t::SaturationRipple |
Current Ripple saturation status (75% of saturation value).
| I2C_slave_t* APDS9930_t::slave_inst |
Slave structure.
| uint16_t APDS9930_t::Wait |
Sensor wait time config.
| bool APDS9930_t::WEN |
Wait between conversions enabled config.