summaryrefslogtreecommitdiffstats
path: root/libk8055/libk8055.cpp
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-06 07:43:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-06 07:43:23 +0200
commit85b41913139682838141a44b8d6e2d3f2df2cccb (patch)
tree6a1449b4067294f51f63d58a4dcb1e85367c98af /libk8055/libk8055.cpp
parente740fa93f096152ef6efe0d7c3246f0127cca9bb (diff)
downloadk8055-85b41913139682838141a44b8d6e2d3f2df2cccb.zip
k8055-85b41913139682838141a44b8d6e2d3f2df2cccb.tar.gz
rename k8055_(set|read)_all_values to k8055_(write|read)_all_(outputs|inputs)
Diffstat (limited to 'libk8055/libk8055.cpp')
-rw-r--r--libk8055/libk8055.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libk8055/libk8055.cpp b/libk8055/libk8055.cpp
index f30e23e..563cb43 100644
--- a/libk8055/libk8055.cpp
+++ b/libk8055/libk8055.cpp
@@ -182,12 +182,12 @@ int K8055::WriteAllDigital( int data ) {
return k8055_write_all_digital( &dev, data );
}
-int K8055::SetAllValues( int digital_data, int ad_data1, int ad_data2 ) {
- return k8055_set_all_values( &dev, digital_data, ad_data1, ad_data2 );
+int K8055::WriteAllOutputs( int digital, int analog1, int analog2 ) {
+ return k8055_write_all_outputs( &dev, digital, analog1, analog2 );
}
-int K8055::ReadAllValues ( int* data1, int* data2, int* data3, int* data4, int* data5 ) {
- return k8055_read_all_values( &dev, data1, data2, data3, data4, data5 );
+int K8055::ReadAllInputs ( int* digital, int* analog1, int* analog2, int* counter1, int* counter2 ) {
+ return k8055_read_all_inputs( &dev, digital, analog1, analog2, counter1, counter2 );
}
int K8055::ResetCounter( int counter ) {