summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 11:57:55 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 11:57:55 +0100
commit0e40d8791f5fa2081a76fa9a03bef6e189dbec0e (patch)
treeac4c079dd772ff4669562a6f6853bc5f4fda5391 /src/uca.c
parentb1b747d9f0f1065a6078dfc788fff60109fc007e (diff)
downloadlibuca-0e40d8791f5fa2081a76fa9a03bef6e189dbec0e.tar.gz
libuca-0e40d8791f5fa2081a76fa9a03bef6e189dbec0e.tar.bz2
libuca-0e40d8791f5fa2081a76fa9a03bef6e189dbec0e.tar.xz
libuca-0e40d8791f5fa2081a76fa9a03bef6e189dbec0e.zip
Add gain modes
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/uca.c b/src/uca.c
index fc36f2e..6662f3d 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -66,6 +66,14 @@ static struct uca_property_t property_map[UCA_PROP_LAST+1] = {
{ "Temperature.Camera", uca_dc, uca_uint32t, uca_read },
{ "Trigger.Mode", uca_na, uca_uint32t, uca_readwrite },
{ "Trigger.Exposure", uca_na, uca_uint32t, uca_readwrite },
+ { "Gain.PGA", uca_na, uca_uint32t, uca_readwrite },
+ { "Gain.PGA.Min", uca_na, uca_uint32t, uca_read },
+ { "Gain.PGA.Max", uca_na, uca_uint32t, uca_read },
+ { "Gain.PGA.Step", uca_na, uca_uint32t, uca_read },
+ { "Gain.ADC", uca_na, uca_uint32t, uca_readwrite },
+ { "Gain.ADC.Min", uca_na, uca_uint32t, uca_read },
+ { "Gain.ADC.Max", uca_na, uca_uint32t, uca_read },
+ { "Gain.ADC.Step", uca_na, uca_uint32t, uca_read },
{ "Mode.Timestamp", uca_na, uca_uint32t, uca_readwrite },
{ "Mode.Scan", uca_na, uca_uint32t, uca_readwrite },
{ "Interlace.Samplerate", uca_na, uca_uint32t, uca_readwrite },