summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-01 07:44:35 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-01 07:44:35 +0100
commit52139c71e12fe91955dc5d23c072c5662e906f52 (patch)
treeaf5e6ec6814f7cdad0fcc14b583b35e43d33828c /libk8055/k8055.h
parent3dbfdda5d447eea8389656b5bf9058ac8b80e3a9 (diff)
downloadk8055-52139c71e12fe91955dc5d23c072c5662e906f52.zip
k8055-52139c71e12fe91955dc5d23c072c5662e906f52.tar.gz
channel and counter becomes integers
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r--libk8055/k8055.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h
index 1142114..2966ab6 100644
--- a/libk8055/k8055.h
+++ b/libk8055/k8055.h
@@ -38,26 +38,26 @@ extern "C" {
long search_devices( void );
int open_device( struct k8055_dev* dev, int board_address );
int close_device( struct k8055_dev* dev );
- long read_analog_channel( struct k8055_dev* dev, long channel );
+ long read_analog_channel( struct k8055_dev* dev, int channel );
int read_all_analog( struct k8055_dev* dev, long* data1, long* data2 );
- int output_analog_channel( struct k8055_dev* dev ,long channel, long data );
+ int output_analog_channel( struct k8055_dev* dev ,int channel, long data );
int output_all_analog( struct k8055_dev* dev, long data1, long data2 );
int clear_all_analog( struct k8055_dev* dev );
- int clear_analog_channel( struct k8055_dev* dev, long channel );
- int set_analog_channel( struct k8055_dev* dev, long channel );
+ int clear_analog_channel( struct k8055_dev* dev, int channel );
+ int set_analog_channel( struct k8055_dev* dev, int channel );
int set_all_analog( struct k8055_dev* dev );
int write_all_digital( struct k8055_dev* dev, long data );
- int clear_digital_channel( struct k8055_dev* dev, long channel );
+ int clear_digital_channel( struct k8055_dev* dev, int channel );
int clear_all_digital( struct k8055_dev* dev );
- int set_digital_channel( struct k8055_dev* dev, long channel );
+ int set_digital_channel( struct k8055_dev* dev, int channel );
int set_all_digital( struct k8055_dev* dev );
- int read_digital_channel( struct k8055_dev* dev, long channel );
+ int read_digital_channel( struct k8055_dev* dev, int channel );
long read_all_digital( struct k8055_dev* dev );
int read_all_values( struct k8055_dev* dev, long int* data1, long int* data2, long int* data3, long int* data4, long int* data5 );
int set_all_values( struct k8055_dev* dev, int digital_data, int ad_data1, int ad_data2 );
- int reset_counter( struct k8055_dev* dev, long counter );
- long read_counter( struct k8055_dev* dev, long counter );
- int set_counter_debounce_time( struct k8055_dev* dev, long counter, long debounce_time );
+ int reset_counter( struct k8055_dev* dev, int counter );
+ long read_counter( struct k8055_dev* dev, int counter );
+ int set_counter_debounce_time( struct k8055_dev* dev, int counter, long debounce_time );
/* Velleman API */
char* Version( void );