ST Expansion SW Team / Vl6180

Dependencies:   VL6180_Board

Dependents:   X_NUCLEO_6180

Embed: (wiki syntax)

« Back to documentation index

VL6180DevData_t Struct Reference

VL6180DevData_t Struct Reference

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

#include <vl6180_def.h>

Data Fields

uint32_t Part2PartAmbNVM
uint16_t EceFactorM
uint16_t EceFactorD
uint8_t UpscaleFactor
uint8_t WrapAroundFilterActive
struct FilterData_t FilterData
uint8_t CacheFilled
uint8_t CachedRegs [VL6180_CACHED_REG_CNT]
int8_t Part2PartOffsetNVM

Detailed Description

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

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

Definition at line 215 of file vl6180_def.h.


Field Documentation

uint8_t CachedRegs[VL6180_CACHED_REG_CNT]

Cache register storage

Definition at line 236 of file vl6180_def.h.

uint8_t CacheFilled

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

Definition at line 235 of file vl6180_def.h.

uint16_t EceFactorD

Ece Factor D denominator

Definition at line 221 of file vl6180_def.h.

uint16_t EceFactorM

Cached XTlak Compensation Rate Ece Factor M numerator

Definition at line 220 of file vl6180_def.h.

Filter internal data state history ...

Definition at line 231 of file vl6180_def.h.

uint32_t Part2PartAmbNVM

backed up NVM value

Definition at line 217 of file vl6180_def.h.

backed up NVM value

Definition at line 242 of file vl6180_def.h.

uint8_t UpscaleFactor

up-scaling factor

Definition at line 226 of file vl6180_def.h.

Filter on/off

Definition at line 230 of file vl6180_def.h.