#include <string.h>
#include "freenect_internal.h"
#include "flags.h"
Go to the source code of this file.
|
int | freenect_set_flag (freenect_device *dev, freenect_flag flag, freenect_flag_value value) |
|
FN_INTERNAL uint16_t | read_cmos_register (freenect_device *dev, uint16_t reg) |
|
FN_INTERNAL uint16_t | read_register (freenect_device *dev, uint16_t reg) |
|
FN_INTERNAL int | register_for_flag (int flag) |
|
FN_INTERNAL int | send_cmd (freenect_device *dev, uint16_t cmd, void *cmdbuf, unsigned int cmd_len, void *replybuf, int reply_len) |
|
FN_INTERNAL int | write_cmos_register (freenect_device *dev, uint16_t reg, uint16_t value) |
|
FN_INTERNAL int | write_register (freenect_device *dev, uint16_t reg, uint16_t data) |
|
Enables or disables the specified flag.
- Parameters
-
flag | Feature to set |
value | FREENECT_OFF or FREENECT_ON |
- Returns
- 0 on success, < 0 if error
Definition at line 48 of file flags.c.