AFBR-S50 API Reference Manual v1.5.6
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
Loading...
Searching...
No Matches
AFBR-S50 Explorer Application - Config

AFBR-S50 Explorer Application - Config. More...

Collaboration diagram for AFBR-S50 Explorer Application - Config:

Macros

#define EXPLORER_DEVICE_COUNT   2
 
#define EXPLORER_DEVICE_ID_MIN   1
 
#define EXPLORER_DEVICE_ID_MAX   S2PI_SLAVE_COUNT
 
#define DEFAULT_EXPLORER   (SPI_DEFAULT_SLAVE - 1U)
 

Detailed Description

AFBR-S50 Explorer Application - Config.


Contains the static configuration of the Explorer App

Macro Definition Documentation

◆ DEFAULT_EXPLORER

#define DEFAULT_EXPLORER   (SPI_DEFAULT_SLAVE - 1U)

The default sensor that will be paired with the DEVICEID_DEFAULT. Note: the Explorer index starts from 0 (C array) and the DEVICE ID starts from 1, according to the SCI specs.

◆ EXPLORER_DEVICE_COUNT

#define EXPLORER_DEVICE_COUNT   2

The maximum number of instantiated time-of-flight sensor devices.

◆ EXPLORER_DEVICE_ID_MAX

#define EXPLORER_DEVICE_ID_MAX   S2PI_SLAVE_COUNT

The maximum device ID supported; equivalent to the available S2PI slaves. Note: includes the 0 default device address.

◆ EXPLORER_DEVICE_ID_MIN

#define EXPLORER_DEVICE_ID_MIN   1

The minimum device ID supported; Note: skips the 0 as default device address.