acc_config.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "acc_definitions_a121.h"
#include "acc_definitions_common.h"

Go to the source code of this file.

Typedefs

typedef struct acc_config acc_config_t
 

Functions

acc_config_tacc_config_create (void)
 Create a configuration. More...
 
void acc_config_destroy (acc_config_t *config)
 Destroy a configuration freeing any resources allocated. More...
 
void acc_config_log (const acc_config_t *config)
 Print a configuration to the log. More...
 
void acc_config_start_point_set (acc_config_t *config, int32_t start_point)
 Set the starting point of the sweep. More...
 
int32_t acc_config_start_point_get (const acc_config_t *config)
 Get the starting point of the sweep. More...
 
void acc_config_num_points_set (acc_config_t *config, uint16_t num_points)
 Set the number of data points to measure. More...
 
uint16_t acc_config_num_points_get (const acc_config_t *config)
 Get the number of data points to measure. More...
 
void acc_config_step_length_set (acc_config_t *config, uint16_t step_length)
 Set the step length in a sweep. More...
 
uint16_t acc_config_step_length_get (const acc_config_t *config)
 Get the step length in a sweep. More...
 
void acc_config_profile_set (acc_config_t *config, acc_config_profile_t profile)
 Set a profile. More...
 
acc_config_profile_t acc_config_profile_get (const acc_config_t *config)
 Get the currently used profile. More...
 
void acc_config_hwaas_set (acc_config_t *config, uint16_t hwaas)
 Set the hardware accelerated average samples (HWAAS) More...
 
uint16_t acc_config_hwaas_get (const acc_config_t *config)
 Get the hardware accelerated average samples (HWAAS) More...
 
void acc_config_receiver_gain_set (acc_config_t *config, uint8_t gain)
 Set receiver gain setting. More...
 
uint8_t acc_config_receiver_gain_get (const acc_config_t *config)
 Get receiver gain setting. More...
 
void acc_config_sweeps_per_frame_set (acc_config_t *config, uint16_t sweeps)
 Set sweeps per frame. More...
 
uint16_t acc_config_sweeps_per_frame_get (const acc_config_t *config)
 Get the number of sweeps per frame. More...
 
void acc_config_sweep_rate_set (acc_config_t *config, float sweep_rate)
 Set the sweep rate. More...
 
float acc_config_sweep_rate_get (const acc_config_t *config)
 Get the sweep rate. More...
 
void acc_config_continuous_sweep_mode_set (acc_config_t *config, bool enabled)
 Set continuous sweep mode. More...
 
bool acc_config_continuous_sweep_mode_get (const acc_config_t *config)
 Get continuous sweep mode. More...
 
void acc_config_frame_rate_set (acc_config_t *config, float frame_rate)
 Set the frame rate. More...
 
float acc_config_frame_rate_get (const acc_config_t *config)
 Get the frame rate. More...
 
void acc_config_enable_tx_set (acc_config_t *config, bool enable)
 Enable or disable the transmitter. More...
 
bool acc_config_enable_tx_get (const acc_config_t *config)
 Get transmitter enable configuration. More...
 
void acc_config_inter_frame_idle_state_set (acc_config_t *config, acc_config_idle_state_t idle_state)
 Set inter frame idle state. More...
 
acc_config_idle_state_t acc_config_inter_frame_idle_state_get (const acc_config_t *config)
 Get inter frame idle state. More...
 
void acc_config_inter_sweep_idle_state_set (acc_config_t *config, acc_config_idle_state_t idle_state)
 Set inter sweep idle state. More...
 
acc_config_idle_state_t acc_config_inter_sweep_idle_state_get (const acc_config_t *config)
 Get inter sweep idle state. More...
 
void acc_config_prf_set (acc_config_t *config, acc_config_prf_t prf)
 Set Pulse Repetition Frequency. More...
 
acc_config_prf_t acc_config_prf_get (const acc_config_t *config)
 Get Pulse Repetition Frequency. More...
 
void acc_config_phase_enhancement_set (acc_config_t *config, bool enable)
 Enable or disable phase enhancement. More...
 
bool acc_config_phase_enhancement_get (const acc_config_t *config)
 Get the phase enhancement configuration. More...
 
void acc_config_enable_loopback_set (acc_config_t *config, bool enable)
 Enable or disable loopback. More...
 
bool acc_config_enable_loopback_get (const acc_config_t *config)
 Get the enable loopback configuration. More...
 
void acc_config_double_buffering_set (acc_config_t *config, bool enable)
 Enable or disable double buffering. More...
 
bool acc_config_double_buffering_get (const acc_config_t *config)
 Get the double buffering configuration. More...