AFBR-S50 API Reference Manual  v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
explorer_config.h
Go to the documentation of this file.
1 /*************************************************************************/
38 #ifndef EXPLORER_APP_CONFIG_H
39 #define EXPLORER_APP_CONFIG_H
40 
41 /*!***************************************************************************
42  * @defgroup explorer_config AFBR-S50 Explorer Application - Config
43  * @ingroup explorer_app
44  * @brief AFBR-S50 Explorer Application - Config
45  * @details Contains the static configuration of the Explorer App
46  *
47  * @addtogroup explorer_config
48  * @{
49  *****************************************************************************/
50 
51 #include "board/board_config.h"
52 
53 /*!***************************************************************************
54  * The maximum number of instantiated time-of-flight sensor devices.
55  *****************************************************************************/
56 #ifndef EXPLORER_DEVICE_COUNT
57 #define EXPLORER_DEVICE_COUNT 1
58 #endif
59 
60 /*!***************************************************************************
61  * The minimum device ID supported;
62  * Note: skips the 0 as default device address.
63  *****************************************************************************/
64 #define EXPLORER_DEVICE_ID_MIN 1
65 
66 /*!***************************************************************************
67  * The maximum device ID supported; equivalent to the available S2PI slaves.
68  * Note: includes the 0 default device address.
69  *****************************************************************************/
70 #define EXPLORER_DEVICE_ID_MAX S2PI_SLAVE_COUNT
71 
72 /*!***************************************************************************
73  * The default sensor that will be paired with the SCI_DEVICE_ID_DEFAULT.
74  * Note: the Explorer index starts from 0 (C array) and the DEVICE ID
75  * starts from 1, according to the SCI specs.
76  *****************************************************************************/
77 #define DEFAULT_EXPLORER (SPI_DEFAULT_SLAVE - 1U)
78 
79 
81 #endif /* EXPLORER_APP_CONFIG_H */