world leader in high performance signal processing
Trace:

Differences

This shows you the differences between two versions of the page.

gpio [2008/02/06 18:05]
hennerich update
gpio [2010/06/09 01:03] (current)
vapier extend documented api a bit more
Line 88: Line 88:
  
 <code c> <code c>
-int gpio_request(unsigned, const char *); +int gpio_is_valid(int number); 
-void gpio_free(unsigned);+ 
 +int gpio_request(unsigned gpio, const char *label); 
 +void gpio_free(unsigned gpio);
  
 int gpio_direction_input(unsigned gpio); int gpio_direction_input(unsigned gpio);
 int gpio_direction_output(unsigned gpio, int value); int gpio_direction_output(unsigned gpio, int value);
  
-void gpio_set_value(unsigned gpio, int arg);+void gpio_set_value(unsigned gpio, int value);
 int gpio_get_value(unsigned gpio); int gpio_get_value(unsigned gpio);
 </code> </code>