AFBR-S50 API Reference Manual v1.5.6
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
Loading...
Searching...
No Matches
argus_meas.h
Go to the documentation of this file.
1/*************************************************************************/
37#ifndef ARGUS_MEAS_H
38#define ARGUS_MEAS_H
39#ifdef __cplusplus
40extern "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 *****************************************************************************/
76typedef struct argus_meas_frame_t
77{
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 */
This file is part of the AFBR-S50 API.
This file is part of the AFBR-S50 hardware API.
argus_state_t
State flags for the current frame.
Definition argus_dca.h:227
uint16_t uq10_6_t
Unsigned fixed point number: UQ10.6.
Definition fp_def.h:251
uint16_t uq12_4_t
Unsigned fixed point number: UQ12.4.
Definition fp_def.h:231
The device measurement configuration structure.
Definition argus_meas.h:77
uint32_t ChEnMask
Definition argus_meas.h:97
uint16_t DigitalIntegrationDepth
Definition argus_meas.h:114
uq12_4_t OutputPower
Definition argus_meas.h:118
uint8_t BiasCurrent
Definition argus_meas.h:121
int8_t PllOffset
Definition argus_meas.h:129
uint8_t PixelGain
Definition argus_meas.h:125
uq10_6_t AnalogIntegrationDepth
Definition argus_meas.h:110
uint32_t IntegrationTime
Definition argus_meas.h:85
uint8_t PllCtrlCur
Definition argus_meas.h:132
argus_state_t State
Definition argus_meas.h:106
uint32_t PxEnMask
Definition argus_meas.h:91