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

Go to the source code of this file.

Functions

void acc_config_num_subsweeps_set (acc_config_t *config, uint8_t num_subsweeps)
 Set the number of subsweeps to use. More...
 
uint8_t acc_config_num_subsweeps_get (const acc_config_t *config)
 Get the number of subsweeps to use. More...
 
void acc_config_subsweep_start_point_set (acc_config_t *config, int32_t start_point, uint8_t index)
 Set the starting point of the sweep. More...
 
int32_t acc_config_subsweep_start_point_get (const acc_config_t *config, uint8_t index)
 Get the starting point of the sweep. More...
 
void acc_config_subsweep_num_points_set (acc_config_t *config, uint16_t num_points, uint8_t index)
 Set the number of data points to measure. More...
 
uint16_t acc_config_subsweep_num_points_get (const acc_config_t *config, uint8_t index)
 Get the number of data points to measure. More...
 
void acc_config_subsweep_step_length_set (acc_config_t *config, uint16_t step_length, uint8_t index)
 Set the step length in a sweep. More...
 
uint16_t acc_config_subsweep_step_length_get (const acc_config_t *config, uint8_t index)
 Get the step length in a sweep. More...
 
void acc_config_subsweep_profile_set (acc_config_t *config, acc_config_profile_t profile, uint8_t index)
 Set a profile. More...
 
acc_config_profile_t acc_config_subsweep_profile_get (const acc_config_t *config, uint8_t index)
 Get the currently used profile. More...
 
void acc_config_subsweep_hwaas_set (acc_config_t *config, uint16_t hwaas, uint8_t index)
 Set the hardware accelerated average samples (HWAAS) More...
 
uint16_t acc_config_subsweep_hwaas_get (const acc_config_t *config, uint8_t index)
 Get the hardware accelerated average samples (HWAAS) More...
 
void acc_config_subsweep_receiver_gain_set (acc_config_t *config, uint8_t gain, uint8_t index)
 Set receiver gain setting. More...
 
uint8_t acc_config_subsweep_receiver_gain_get (const acc_config_t *config, uint8_t index)
 Get receiver gain setting. More...
 
void acc_config_subsweep_enable_tx_set (acc_config_t *config, bool enable, uint8_t index)
 Enable or disable the transmitter. More...
 
bool acc_config_subsweep_enable_tx_get (const acc_config_t *config, uint8_t index)
 Get transmitter enable mode. More...
 
void acc_config_subsweep_prf_set (acc_config_t *config, acc_config_prf_t prf, uint8_t index)
 Set Pulse Repetition Frequency. More...
 
acc_config_prf_t acc_config_subsweep_prf_get (const acc_config_t *config, uint8_t index)
 Get Pulse Repetition Frequency. More...
 
void acc_config_subsweep_phase_enhancement_set (acc_config_t *config, bool enable, uint8_t index)
 Set the phase enhancement enabled configuration. More...
 
bool acc_config_subsweep_phase_enhancement_get (const acc_config_t *config, uint8_t index)
 Get the phase enhancement enabled configuration. More...
 
void acc_config_subsweep_enable_loopback_set (acc_config_t *config, bool enable, uint8_t index)
 Set the loopback enabled configuration. More...
 
bool acc_config_subsweep_enable_loopback_get (const acc_config_t *config, uint8_t index)
 Get the enable loopback configuration. More...