libsigrok
unreleased development snapshot
sigrok hardware access and backend library
|
#include <config.h>
#include <glib.h>
#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
Go to the source code of this file.
Macros | |
#define | VALUE_TYPE(T, R, L) |
Functions | |
SR_PRIV int | bv_get_value_len (float *out, const struct binary_value_spec *spec, const uint8_t *data, size_t length) |
SR_PRIV int | bv_get_value (float *out, const struct binary_value_spec *spec, const uint8_t *data) |
#define VALUE_TYPE | ( | T, | |
R, | |||
L | |||
) |
Referenced by bv_get_value_len().
SR_PRIV int bv_get_value | ( | float * | out, |
const struct binary_value_spec * | spec, | ||
const uint8_t * | data | ||
) |
Definition at line 62 of file binary_helpers.c.
References SR_ERR_ARG, and SR_OK.
SR_PRIV int bv_get_value_len | ( | float * | out, |
const struct binary_value_spec * | spec, | ||
const uint8_t * | data, | ||
size_t | length | ||
) |
Definition at line 25 of file binary_helpers.c.
References SR_ERR_ARG, SR_OK, and VALUE_TYPE.