AFBR-S50 API Reference Manual  v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
argus_meas.h
Go to the documentation of this file.
1 /*************************************************************************/
37 #ifndef ARGUS_MEAS_H
38 #define ARGUS_MEAS_H
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
43 /*!***************************************************************************
44  * @defgroup argus_meas Measurement/Device Control
45  * @ingroup argus_api
46  *
47  * @brief Measurement/Device control module
48  *
49  * @details This module contains measurement and device control specific
50  * definitions and methods.
51  *
52  * @addtogroup argus_meas
53  * @{
54  *****************************************************************************/
55 
56 #include "argus_dca.h"
57 #include "argus_def.h"
58 
60 #define ARGUS_RAW_DATA_VALUES 132U // 33 channels * 4 phases
61 
63 #define ARGUS_RAW_DATA_SIZE (3U * ARGUS_RAW_DATA_VALUES) // 3 bytes * 33 channels * 4 phases
64 
66 #define ARGUS_AUX_CHANNEL_COUNT (5U)
67 
69 #define ARGUS_AUX_DATA_SIZE (3U * ARGUS_AUX_CHANNEL_COUNT) // 3 bytes * x channels * 1 phase
70 
71 /*!***************************************************************************
72  * @brief The device measurement configuration structure.
73  * @details The portion of the configuration data that belongs to the
74  * measurement cycle. I.e. the data that defines a measurement frame.
75  *****************************************************************************/
76 typedef struct argus_meas_frame_t
77 {
85  uint32_t IntegrationTime;
86 
91  uint32_t PxEnMask;
92 
97  uint32_t ChEnMask;
98 
107 
111 
115 
119 
121  uint8_t BiasCurrent;
122 
125  uint8_t PixelGain;
126 
129  int8_t PllOffset;
130 
132  uint8_t PllCtrlCur;
133 
135 
137 #ifdef __cplusplus
138 } // extern "C"
139 #endif
140 #endif /* ARGUS_MEAS_H */
argus_meas_frame_t::PxEnMask
uint32_t PxEnMask
Definition: argus_meas.h:91
argus_meas_frame_t::PllCtrlCur
uint8_t PllCtrlCur
Definition: argus_meas.h:132
argus_state_t
argus_state_t
State flags for the current frame.
Definition: argus_dca.h:226
argus_meas_frame_t::OutputPower
uq12_4_t OutputPower
Definition: argus_meas.h:118
argus_meas_frame_t::State
argus_state_t State
Definition: argus_meas.h:106
argus_meas_frame_t::IntegrationTime
uint32_t IntegrationTime
Definition: argus_meas.h:85
argus_def.h
This file is part of the AFBR-S50 hardware API.
uq12_4_t
uint16_t uq12_4_t
Unsigned fixed point number: UQ12.4.
Definition: fp_def.h:231
argus_meas_frame_t::PixelGain
uint8_t PixelGain
Definition: argus_meas.h:125
uq10_6_t
uint16_t uq10_6_t
Unsigned fixed point number: UQ10.6.
Definition: fp_def.h:251
argus_dca.h
This file is part of the AFBR-S50 API.
argus_meas_frame_t::ChEnMask
uint32_t ChEnMask
Definition: argus_meas.h:97
argus_meas_frame_t
The device measurement configuration structure.
Definition: argus_meas.h:76
argus_meas_frame_t::BiasCurrent
uint8_t BiasCurrent
Definition: argus_meas.h:121
argus_meas_frame_t::PllOffset
int8_t PllOffset
Definition: argus_meas.h:129
argus_meas_frame_t::AnalogIntegrationDepth
uq10_6_t AnalogIntegrationDepth
Definition: argus_meas.h:110
argus_meas_frame_t::DigitalIntegrationDepth
uint16_t DigitalIntegrationDepth
Definition: argus_meas.h:114