.. _program_listing_file_include_libcaer_devices_dvs128.h: Program Listing for File dvs128.h ================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/libcaer/devices/dvs128.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef LIBCAER_DEVICES_DVS128_H_ #define LIBCAER_DEVICES_DVS128_H_ #include "../events/polarity.h" #include "../events/special.h" #include "usb.h" #ifdef __cplusplus extern "C" { #endif #define CAER_DEVICE_DVS128 0 #define DVS128_CONFIG_DVS 0 #define DVS128_CONFIG_BIAS 1 #define DVS128_CONFIG_DVS_RUN 0 #define DVS128_CONFIG_DVS_TIMESTAMP_RESET 1 #define DVS128_CONFIG_DVS_ARRAY_RESET 2 #define DVS128_CONFIG_DVS_TS_MASTER 3 #define DVS128_CONFIG_BIAS_CAS 0 #define DVS128_CONFIG_BIAS_INJGND 1 #define DVS128_CONFIG_BIAS_REQPD 2 #define DVS128_CONFIG_BIAS_PUX 3 #define DVS128_CONFIG_BIAS_DIFFOFF 4 #define DVS128_CONFIG_BIAS_REQ 5 #define DVS128_CONFIG_BIAS_REFR 6 #define DVS128_CONFIG_BIAS_PUY 7 #define DVS128_CONFIG_BIAS_DIFFON 8 #define DVS128_CONFIG_BIAS_DIFF 9 #define DVS128_CONFIG_BIAS_FOLL 10 #define DVS128_CONFIG_BIAS_PR 11 struct caer_dvs128_info { int16_t deviceID; char deviceSerialNumber[8 + 1]; uint8_t deviceUSBBusNumber; uint8_t deviceUSBDeviceAddress; char *deviceString; int16_t firmwareVersion; bool deviceIsMaster; int16_t dvsSizeX; int16_t dvsSizeY; }; LIBRARY_PUBLIC_VISIBILITY struct caer_dvs128_info caerDVS128InfoGet(caerDeviceHandle handle); #ifdef __cplusplus } #endif #endif /* LIBCAER_DEVICES_DVS128_H_ */