I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
APDS9930_t Struct Reference

APDS9930 user interface struct. More...

#include <APDS9930_proc.h>

Collaboration diagram for APDS9930_t:

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 
 

Detailed Description

APDS9930 user interface struct.

Field Documentation

◆ AIEN

bool APDS9930_t::AIEN

Sensor ALS (Ambient Light Sensing) interrupts enabled config.

◆ ALS_Gain

APDS9930_als_gain_ex APDS9930_t::ALS_Gain

ALS sensor gain config.

◆ ALS_HighThreshold

uint16_t APDS9930_t::ALS_HighThreshold

ALS High Threshold config.

◆ ALS_Integ

uint16_t APDS9930_t::ALS_Integ

ALS sensor integration time config.

◆ ALS_Integ_reg

uint8_t APDS9930_t::ALS_Integ_reg

ALS sensor integration time config (value written to register)

◆ ALS_LowThreshold

uint16_t APDS9930_t::ALS_LowThreshold

ALS Low Threshold config.

◆ [struct]

struct { ... } APDS9930_t::cfg

◆ ChipID

uint8_t APDS9930_t::ChipID

Chip ID.

◆ Full

uint16_t APDS9930_t::Full

Current Full spectrum raw value.

◆ GA

float APDS9930_t::GA

Glass attenuation factor.

◆ INT_GPIO

PeripheralGPIO_t APDS9930_t::INT_GPIO

Interrupt GPIO struct.

◆ IR

uint16_t APDS9930_t::IR

Current IR raw value.

◆ IRF

float APDS9930_t::IRF

Current Current IR ratio.

◆ LPC

float APDS9930_t::LPC

Lux per count config.

◆ Lux

uint32_t APDS9930_t::Lux

Current Illuminance (lux)

◆ PIEN

bool APDS9930_t::PIEN

Sensor Proximity interrupts enabled config.

◆ Prox

uint16_t APDS9930_t::Prox

Current Proximity raw value.

◆ Prox_Gain

APDS9930_prox_gain APDS9930_t::Prox_Gain

Proximity sensor gain config.

◆ Prox_HighThreshold

uint16_t APDS9930_t::Prox_HighThreshold

Proximity High Threshold config.

◆ Prox_Integ

uint16_t APDS9930_t::Prox_Integ

Proximity sensor integration time config.

◆ Prox_LowThreshold

uint16_t APDS9930_t::Prox_LowThreshold

Proximity Low Threshold config.

◆ Prox_Pulses

uint8_t APDS9930_t::Prox_Pulses

Proximity pulses sent in a cycle.

◆ Prox_Strength

APDS9930_drive_strength_ex APDS9930_t::Prox_Strength

Proximity LED drive strength.

◆ Saturation

bool APDS9930_t::Saturation

Current Sensor saturation status.

◆ SaturationRipple

bool APDS9930_t::SaturationRipple

Current Ripple saturation status (75% of saturation value)

◆ slave_inst

I2C_slave_t* APDS9930_t::slave_inst

Slave structure.

◆ Wait

uint16_t APDS9930_t::Wait

Sensor wait time config.

◆ WEN

bool APDS9930_t::WEN

Wait between conversions enabled config.


The documentation for this struct was generated from the following file: