summaryrefslogtreecommitdiffstats
path: root/libk8055/k8055.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-03-01 08:20:28 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2011-03-01 08:20:28 +0100
commita923ca34734decc31eb38e89c9e7353569a4dc6e (patch)
treee5b924ae9ea642f5c1504e8ab24ae31b56f0489b /libk8055/k8055.h
parent52139c71e12fe91955dc5d23c072c5662e906f52 (diff)
downloadk8055-a923ca34734decc31eb38e89c9e7353569a4dc6e.zip
k8055-a923ca34734decc31eb38e89c9e7353569a4dc6e.tar.gz
prefix C function with k8055_
Diffstat (limited to 'libk8055/k8055.h')
-rw-r--r--libk8055/k8055.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/libk8055/k8055.h b/libk8055/k8055.h
index 2966ab6..9758e37 100644
--- a/libk8055/k8055.h
+++ b/libk8055/k8055.h
@@ -32,32 +32,32 @@ extern "C" {
unsigned char data_out[PACKET_LEN+1];
};
- char* version( void );
- void set_debug_on( void );
- void set_debug_off( void );
- 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, int channel );
- int read_all_analog( struct k8055_dev* dev, long* data1, long* data2 );
- 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, 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, int channel );
- int clear_all_digital( struct k8055_dev* dev );
- 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, 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, 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 );
+ char* k8055_version( void );
+ void k8055_set_debug_on( void );
+ void k8055_set_debug_off( void );
+ long k8055_search_devices( void );
+ int k8055_open_device( struct k8055_dev* dev, int board_address );
+ int k8055_close_device( struct k8055_dev* dev );
+ long k8055_read_analog_channel( struct k8055_dev* dev, int channel );
+ int k8055_read_all_analog( struct k8055_dev* dev, long* data1, long* data2 );
+ int k8055_output_analog_channel( struct k8055_dev* dev ,int channel, long data );
+ int k8055_output_all_analog( struct k8055_dev* dev, long data1, long data2 );
+ int k8055_clear_all_analog( struct k8055_dev* dev );
+ int k8055_clear_analog_channel( struct k8055_dev* dev, int channel );
+ int k8055_set_analog_channel( struct k8055_dev* dev, int channel );
+ int k8055_set_all_analog( struct k8055_dev* dev );
+ int k8055_write_all_digital( struct k8055_dev* dev, long data );
+ int k8055_clear_digital_channel( struct k8055_dev* dev, int channel );
+ int k8055_clear_all_digital( struct k8055_dev* dev );
+ int k8055_set_digital_channel( struct k8055_dev* dev, int channel );
+ int k8055_set_all_digital( struct k8055_dev* dev );
+ int k8055_read_digital_channel( struct k8055_dev* dev, int channel );
+ long k8055_read_all_digital( struct k8055_dev* dev );
+ int k8055_read_all_values( struct k8055_dev* dev, long int* data1, long int* data2, long int* data3, long int* data4, long int* data5 );
+ int k8055_set_all_values( struct k8055_dev* dev, int digital_data, int ad_data1, int ad_data2 );
+ int k8055_reset_counter( struct k8055_dev* dev, int counter );
+ long k8055_read_counter( struct k8055_dev* dev, int counter );
+ int k8055_set_counter_debounce_time( struct k8055_dev* dev, int counter, long debounce_time );
/* Velleman API */
char* Version( void );