OWLIFT C Library for Linux
1.9.3
|
Top Page |
Macros | |
#define | VOSPI16_TO_UINT16(v) ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0x00FF))) |
#define | UINT16_TO_VOSPI16(v) ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0xFF))) |
#define | VOSPI32_TO_UINT32(v) ((((v) >> 8) & 0x000000FF) | (((v) << 8) & 0x0000FF00) | (((v) >> 8) & 0x00FF0000) | (((v) << 8) & 0xFF000000)) |
#define | UINT32_TO_VOSPI32(v) (((((v) & 0x000000FF) << 8) ) | ((((v) & 0x0000FF00) >> 8)) | ((((v) & 0x00FF0000) << 8)) | ((((v) & 0xFF000000) >> 8))) |
#define | OWDECODE_RANGE_MIN_TEMP_DEFAULT (INT32)((273.15 + 16.0) * 100) |
#define | OWDECODE_RANGE_MAX_TEMP_DEFAULT (INT32)((273.15 + 48.0) * 100) |
#define | OWAGC_RANGE_MIN_TEMP_DEFAULT (INT32)0 |
#define | OWAGC_RANGE_MAX_TEMP_DEFAULT (INT32)((273.15 + 430) * 100) |
#define | OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT 50 |
#define | OWDECODE_NOISE_FILTER_THRESHOLD_MIN 1 |
#define | OWDECODE_NOISE_FILTER_THRESHOLD_MAX 100 |
#define | OWLIB_SERIAL_NUMBER_SIZE 4 |
#define | OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) |
#define | OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) |
#define | OWLIFT_TYPE_A_PID 0x2300 |
#define | OWLIFT_TYPE_B_PID 0x2301 |
#define | OWLIFT_TYPE_F_PID 0x2303 |
#define OWAGC_RANGE_MAX_TEMP_DEFAULT (INT32)((273.15 + 430) * 100) |
The default value of a maximum temperature for Auto Gain Control.
#define OWAGC_RANGE_MIN_TEMP_DEFAULT (INT32)0 |
The default value of a minimum temperature for Auto Gain Control.
#define OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT 50 |
The default value of a threshold for Noise Filter.
#define OWDECODE_NOISE_FILTER_THRESHOLD_MAX 100 |
The maximum value of a threshold for Noise Filter.
#define OWDECODE_NOISE_FILTER_THRESHOLD_MIN 1 |
The minimum value of a threshold for Noise Filter.
#define OWDECODE_RANGE_MAX_TEMP_DEFAULT (INT32)((273.15 + 48.0) * 100) |
The default value of a maximum temperature for Manual Gain Control.
#define OWDECODE_RANGE_MIN_TEMP_DEFAULT (INT32)((273.15 + 16.0) * 100) |
The default value of a minimum temperature for Manual Gain Control.
#define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) |
Device Configuration: Always turns on the sensor's power while not playing (default value).
#define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) |
Device Configuration: Always turns on the sensor's power while not playing (default value).
#define OWLIB_SERIAL_NUMBER_SIZE 4 |
The size of a serial number in WORDs.
#define OWLIFT_TYPE_A_PID 0x2300 |
OWLIFT Type-A's product ID.
#define OWLIFT_TYPE_B_PID 0x2301 |
OWLIFT Type-B's product ID.
#define OWLIFT_TYPE_F_PID 0x2303 |
OWLIFT Type-F's product ID.
#define UINT16_TO_VOSPI16 | ( | v | ) | ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0xFF))) |
Converts 16-bit value from host-byte order to device-byte order.
#define UINT32_TO_VOSPI32 | ( | v | ) | (((((v) & 0x000000FF) << 8) ) | ((((v) & 0x0000FF00) >> 8)) | ((((v) & 0x00FF0000) << 8)) | ((((v) & 0xFF000000) >> 8))) |
Converts 32-bit value from host-byte order to device-byte order.
#define VOSPI16_TO_UINT16 | ( | v | ) | ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0x00FF))) |
Converts 16-bit value from device-byte order to host-byte order.
#define VOSPI32_TO_UINT32 | ( | v | ) | ((((v) >> 8) & 0x000000FF) | (((v) << 8) & 0x0000FF00) | (((v) >> 8) & 0x00FF0000) | (((v) << 8) & 0xFF000000)) |
Converts 32-bit value from device-byte order to host-byte order.
Copyright (C) 2016 Infinitegra, INC. All Rights Reserved. |
Generated by |