#include "adsd3500_sensor.h"
#include "aditof/frame_operations.h"
#include "adsd3500_interrupt_notifier.h"
#include "gpio.h"
#include "sensor-tables/device_parameters.h"
#include "utils.h"
#include "utils_ini.h"
#include <algorithm>
#include <arm_neon.h>
#include <cmath>
#include <fcntl.h>
#include <fstream>
#include <aditof/log.h>
#include <cstring>
#include <unistd.h>
#include "tofi/tofi_config.h"
#include <dirent.h>
#include <linux/videodev2.h>
#include <signal.h>
#include <sstream>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <thread>
#include <unordered_map>
Go to the source code of this file.
|
| static int | xioctl (int fh, unsigned int request, void *arg) |
| |
◆ ADI_DEBUG
◆ ADSD3500_CTRL_PACKET_SIZE
| #define ADSD3500_CTRL_PACKET_SIZE 4099 |
◆ AFE_TEMP_SENSOR_I2C_ADDR
| #define AFE_TEMP_SENSOR_I2C_ADDR 0x4b |
◆ CLEAR
| #define CLEAR |
( |
|
x | ) |
memset(&(x), 0, sizeof(x)) |
◆ CTRL_AB_AVG
| #define CTRL_AB_AVG (0x9819e5) |
◆ CTRL_AB_BITS
| #define CTRL_AB_BITS (0x9819e3) |
◆ CTRL_CONFIDENCE_BITS
| #define CTRL_CONFIDENCE_BITS (0x9819e4) |
◆ CTRL_DEPTH_EN
| #define CTRL_DEPTH_EN (0x9819e6) |
◆ CTRL_PACKET_SIZE
| #define CTRL_PACKET_SIZE 65537 |
◆ CTRL_PHASE_DEPTH_BITS
| #define CTRL_PHASE_DEPTH_BITS (0x9819e2) |
◆ CTRL_SET_MODE
| #define CTRL_SET_MODE (0x9819e0) |
◆ EXTRA_BUFFERS_COUNT
| #define EXTRA_BUFFERS_COUNT 3 |
◆ LASER_TEMP_SENSOR_I2C_ADDR
| #define LASER_TEMP_SENSOR_I2C_ADDR 0x49 |
◆ MAX_SUBFRAMES_COUNT
| #define MAX_SUBFRAMES_COUNT 10 |
◆ NR_OF_MODES_FROM_CCB
| #define NR_OF_MODES_FROM_CCB 10 |
◆ REQ_COUNT
◆ SIZE_OF_MODES_FROM_CCB
| #define SIZE_OF_MODES_FROM_CCB 256 |
◆ TEMP_SENSOR_DEV_PATH
| #define TEMP_SENSOR_DEV_PATH "/dev/i2c-1" |
◆ V4L2_CID_AD_DEV_CHIP_CONFIG
| #define V4L2_CID_AD_DEV_CHIP_CONFIG (0x9819e1) |
◆ CCBVersion
| Enumerator |
|---|
| CCB_UNKNOWN | |
| CCB_VERSION0 | |
| CCB_VERSION1 | |
| CCB_VERSION2 | |
Definition at line 97 of file adsd3500_sensor.cpp.
◆ SensorImagerType
| Enumerator |
|---|
| IMAGER_UNKNOWN | |
| IMAGER_ADSD3100 | |
| IMAGER_ADSD3030 | |
| IMAGER_ADTF3080 | |
Definition at line 90 of file adsd3500_sensor.cpp.
◆ xioctl()
| static int xioctl |
( |
int |
fh, |
|
|
unsigned int |
request, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ chip_id
◆ mode_num