diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-06 07:30:26 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-06 07:30:26 +0200 |
commit | e740fa93f096152ef6efe0d7c3246f0127cca9bb (patch) | |
tree | fca05a794336f69ad9c04d8130d26604c0de87c5 /libk8055/k8055.h | |
parent | b019e00751a521524a5a3f8869cbf0f152ded52e (diff) | |
download | k8055-e740fa93f096152ef6efe0d7c3246f0127cca9bb.zip k8055-e740fa93f096152ef6efe0d7c3246f0127cca9bb.tar.gz |
add k8055_digital_outputs, rename k8055_read_all_values parameters
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r-- | libk8055/k8055.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h index 259d00b..d889b60 100644 --- a/libk8055/k8055.h +++ b/libk8055/k8055.h @@ -50,6 +50,7 @@ extern "C" { int k8055_write( struct k8055_dev* dev ); /* access output data */ + int k8055_digital_outputs( struct k8055_dev* dev ); int k8055_digital_output_1( struct k8055_dev* dev ); int k8055_digital_output_2( struct k8055_dev* dev ); int k8055_digital_output_3( struct k8055_dev* dev ); @@ -97,7 +98,7 @@ extern "C" { int k8055_read_all_digital( struct k8055_dev* dev ); int k8055_set_all_values( struct k8055_dev* dev, int d_data, int a_data1, int a_data2 ); - int k8055_read_all_values( struct k8055_dev* dev, int* data1, int* data2, int* data3, int* data4, int* data5 ); + int k8055_read_all_values( struct k8055_dev* dev, int* digital, int* analog1, int* analog2, int* counter1, int* counter2 ); int k8055_reset_counter( struct k8055_dev* dev, int counter ); int k8055_read_counter( struct k8055_dev* dev, int counter ); |