Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include "environment2_drv.h"
Macros | |
#define | FIX16_MAXIMUM 0x7FFFFFFF |
Environment 2 the maximum value of fix16_t. More... | |
#define | FIX16_MINIMUM 0x80000000 |
Environment 2 the minimum value of fix16_t. More... | |
#define | FIX16_OVERFLOW 0x80000000 |
Environment 2 the value used to indicate overflows when FIXMATH_NO_OVERFLOW is not specified. More... | |
#define | FIX16_ONE 0x00010000 |
Environment 2 fix16_t value of 1. More... | |
#define | NUM_EXP_VALUES 4 |
Functions | |
fix16_t | fix16_from_int (int32_t a) |
int32_t | fix16_cast_to_int (fix16_t a) |
void | environment2_voc_algorithm_configuration (environment2_voc_algorithm_params *params) |
void | environment2_voc_config (void) |
void | environment2_voc_algorithm_process (environment2_voc_algorithm_params *params, int32_t sraw, int32_t *voc_index) |
void | environment2_voc_algorithm (int32_t sraw, int32_t *voc_index) |
#define FIX16_MAXIMUM 0x7FFFFFFF |
Environment 2 the maximum value of fix16_t.
#define FIX16_MINIMUM 0x80000000 |
Environment 2 the minimum value of fix16_t.
#define FIX16_ONE 0x00010000 |
Environment 2 fix16_t value of 1.
#define FIX16_OVERFLOW 0x80000000 |
Environment 2 the value used to indicate overflows when FIXMATH_NO_OVERFLOW is not specified.
#define NUM_EXP_VALUES 4 |
void environment2_voc_algorithm | ( | int32_t | sraw, |
int32_t * | voc_index | ||
) |
void environment2_voc_algorithm_configuration | ( | environment2_voc_algorithm_params * | params | ) |
void environment2_voc_algorithm_process | ( | environment2_voc_algorithm_params * | params, |
int32_t | sraw, | ||
int32_t * | voc_index | ||
) |
void environment2_voc_config | ( | void | ) |
|
inline |
|
inline |