libpg2sdr
Host library for the ProStick Gen 2 SDR
Loading...
Searching...
No Matches
pg2sdr_gain_table_t Struct Reference

Gain table entry. More...

#include <pg2sdr.h>

Data Fields

double gain_db
 
unsigned lna_gain: 4
 
unsigned mix_gain: 4
 
unsigned vga_gain: 4
 

Detailed Description

Gain table entry.

Element type for the total gain tables used in pg2sdr_get_gain_tables() and pg2sdr_set_gain_tables(). Each entry maps a total gain (in dB) to gain step settings for each of the three gain stages.

Field Documentation

◆ gain_db

double pg2sdr_gain_table_t::gain_db

Total gain, dB

◆ lna_gain

unsigned pg2sdr_gain_table_t::lna_gain

LNA gain step, 0-15 (register 5 bits 3:0)

◆ mix_gain

unsigned pg2sdr_gain_table_t::mix_gain

MIX gain step, 0-15 (register 7 bits 3:0)

◆ vga_gain

unsigned pg2sdr_gain_table_t::vga_gain

VGA gain step, 0-15 (register 12 bits 3:0)


The documentation for this struct was generated from the following file: