Thundersoft / Mbed OS VL6180XA1_for_TT_Mxx
Embed: (wiki syntax)

« Back to documentation index

VL6180xDevData_t Struct Reference

VL6180xDevData_t Struct Reference

Per VL6180x device St private data structure
End user should never access any of these field directly. More...

#include <vl6180x_def.h>

Data Fields

uint32_t Part2PartAmbNVM
uint16_t EceFactorM
uint16_t EceFactorD
uint16_t IntegrationPeriod
uint16_t AlsGainCode
uint16_t AlsScaler
uint8_t UpscaleFactor
uint8_t WrapAroundFilterActive
struct FilterData_t FilterData
uint8_t CacheFilled
uint8_t CachedRegs [VL6180x_CACHED_REG_CNT]
int8_t Part2PartOffsetNVM

Detailed Description

Per VL6180x device St private data structure
End user should never access any of these field directly.

These must never access directly but only via VL6180xDev/SetData(dev, field) macro

Definition at line 233 of file vl6180x_def.h.


Field Documentation

uint16_t AlsGainCode

cached Als gain avoid slow read from device at each measure

Definition at line 244 of file vl6180x_def.h.

uint16_t AlsScaler

cached Als scaler avoid slow read from device at each measure

Definition at line 245 of file vl6180x_def.h.

uint8_t CachedRegs[VL6180x_CACHED_REG_CNT]

Cache register storage

Definition at line 259 of file vl6180x_def.h.

uint8_t CacheFilled

Set if valid data got fetched use to control when to fill up register cache

Definition at line 258 of file vl6180x_def.h.

uint16_t EceFactorD

Ece Factor D denominator

Definition at line 239 of file vl6180x_def.h.

uint16_t EceFactorM

Cached XTlak Compensation Rate Ece Factor M numerator

Definition at line 238 of file vl6180x_def.h.

Filter internal data state history ...

Definition at line 254 of file vl6180x_def.h.

cached als Integration period avoid slow read from device at each measure

Definition at line 243 of file vl6180x_def.h.

uint32_t Part2PartAmbNVM

backed up NVM value

Definition at line 235 of file vl6180x_def.h.

backed up NVM value

Definition at line 265 of file vl6180x_def.h.

uint8_t UpscaleFactor

up-scaling factor

Definition at line 249 of file vl6180x_def.h.

Filter on/off

Definition at line 253 of file vl6180x_def.h.