Functions | Variables
ctrl.c File Reference
#include "libuvc.h"
#include "libuvc_internal.h"
Include dependency graph for ctrl.c:

Go to the source code of this file.

Functions

int uvc_get_ctrl (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl, void *data, int len, enum uvc_req_code req_code)
 Perform a GET_* request from an extension unit.
int uvc_get_ctrl_len (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl)
 Get the length of a control on a terminal or unit.
uvc_error_t uvc_get_power_mode (uvc_device_handle_t *devh, enum uvc_device_power_mode *mode, enum uvc_req_code req_code)
int uvc_set_ctrl (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl, void *data, int len)
 Perform a SET_CUR request to a terminal or unit.
uvc_error_t uvc_set_power_mode (uvc_device_handle_t *devh, enum uvc_device_power_mode mode)

Variables

static const int REQ_TYPE_GET = 0xa1
static const int REQ_TYPE_SET = 0x21

Function Documentation

Definition at line 125 of file ctrl.c.

Definition at line 146 of file ctrl.c.


Variable Documentation

const int REQ_TYPE_GET = 0xa1 [static]

Definition at line 46 of file ctrl.c.

const int REQ_TYPE_SET = 0x21 [static]

Definition at line 45 of file ctrl.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40