|
Monado OpenXR Runtime
|
Implementation of ar0134 sensor initialization. More...
#include "os/os_time.h"#include "util/u_logging.h"#include "uvc/uvc_interface.h"#include "ar0134.h"
Macros | |
| #define | XU_ENTITY 4 |
| #define | SENSOR_REG_SEL 2 |
| #define | PIXEL_CLOCKS_PER_LINE 1388 |
| #define | COARSE_INTEGRATION_TIME 26 |
| #define | FINE_INTEGRATION_TIME 646 |
Functions | |
| static int | ar0134_read_reg (libusb_device_handle *dev, uint16_t reg, uint16_t *val) |
| static int | ar0134_write_reg (libusb_device_handle *dev, uint16_t reg, uint16_t val) |
| int | rift_sensor_ar0134_init (libusb_device_handle *devh, bool usb2_mode) |
| Sensor setup after stream start. | |
Implementation of ar0134 sensor initialization.
| int rift_sensor_ar0134_init | ( | libusb_device_handle * | devh, |
| bool | usb2_mode | ||
| ) |
Sensor setup after stream start.
| [in] | devh | libusb device handle |
| [in] | usb2_mode | Whether to configure for USB2 mode |
References os_nanosleep(), U_LOG_D, U_LOG_E, and U_LOG_W.