FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::vl53l0x::SPADReference Class Reference

Hold reference SPADs (Single Photon Avalanche Diode). More...

#include <fastarduino/devices/vl53l0x_types.h>

Public Member Functions

const uint8_t * spad_refs () const
 Get a pointer to the 6-byte array stored in this SPADReference instance. More...
 
uint8_t * spad_refs ()
 Get a pointer to the 6-byte array stored in this SPADReference instance. More...
 

Detailed Description

Hold reference SPADs (Single Photon Avalanche Diode).

VL53L0X device has 48 SPADs, only a part being enabled. SPAD enable status is stored as a bit in an array of 6 bytes.

See also
VL53L0X::get_reference_SPADs()
VL53L0X::set_reference_SPADs()
SPADInfo

Definition at line 513 of file vl53l0x_types.h.

Member Function Documentation

◆ spad_refs() [1/2]

const uint8_t * devices::vl53l0x::SPADReference::spad_refs ( ) const
inline

Get a pointer to the 6-byte array stored in this SPADReference instance.

The returned array cannot be modified.

Definition at line 529 of file vl53l0x_types.h.

◆ spad_refs() [2/2]

uint8_t * devices::vl53l0x::SPADReference::spad_refs ( )
inline

Get a pointer to the 6-byte array stored in this SPADReference instance.

The returned array can be modified.

Definition at line 538 of file vl53l0x_types.h.


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