summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 09:55:33 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2011-03-24 09:55:33 +0100
commit0e684b35d4707042bba028ce47b53d0336f662e0 (patch)
treea542c0b60b5de7b4b5ff6cf1f246183e30435208 /src/uca.c
parent146ac46ab25b3510e34b6fdeb680d4810b48a91a (diff)
downloaduca-0e684b35d4707042bba028ce47b53d0336f662e0.tar.gz
uca-0e684b35d4707042bba028ce47b53d0336f662e0.tar.bz2
uca-0e684b35d4707042bba028ce47b53d0336f662e0.tar.xz
uca-0e684b35d4707042bba028ce47b53d0336f662e0.zip
Expose synchronicity property, add boolean unit and document the error code
format
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uca.c b/src/uca.c
index aa41417..d6d2faf 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -40,6 +40,7 @@ const char *uca_unit_map[] = {
"rows",
"fps",
"°C",
+ "[0/1]",
""
};
@@ -78,6 +79,7 @@ static struct uca_property property_map[UCA_PROP_LAST+1] = {
{ "Gain.ADC.Max", uca_na, uca_uint32t, uca_read },
{ "Gain.ADC.Step", uca_na, uca_uint32t, uca_read },
{ "Grabber.Timeout", uca_s, uca_uint32t, uca_readwrite },
+ { "Grabber.Synchronous", uca_bool, uca_uint32t, uca_readwrite },
{ "Mode.Timestamp", uca_na, uca_uint32t, uca_readwrite },
{ "Mode.Scan", uca_na, uca_uint32t, uca_readwrite },
{ "Interlace.Samplerate", uca_na, uca_uint32t, uca_readwrite },