Subversion Repositories Projects

Rev

Rev 244 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 244 Rev 321
Line 26... Line 26...
26
/* ---- Constants and Types ---------------------------------------------- */
26
/* ---- Constants and Types ---------------------------------------------- */
27
27
28
/* ---- Variable Externs ------------------------------------------------- */
28
/* ---- Variable Externs ------------------------------------------------- */
29
29
30
/* ---- Function Prototypes ---------------------------------------------- */
30
/* ---- Function Prototypes ---------------------------------------------- */
-
 
31
-
 
32
#if defined( __cplusplus )
-
 
33
extern "C" {
-
 
34
#endif
31
35
32
int  gpio_init( void );
36
int  gpio_init( void );
33
void gpio_term( void );
37
void gpio_term( void );
34
38
35
/*
39
/*
Line 40... Line 44...
40
void gpio_free( unsigned gpio );
44
void gpio_free( unsigned gpio );
41
int  gpio_direction_input( unsigned gpio );
45
int  gpio_direction_input( unsigned gpio );
42
int  gpio_direction_output( unsigned gpio, int initialValue );
46
int  gpio_direction_output( unsigned gpio, int initialValue );
43
int  gpio_get_value( unsigned gpio );
47
int  gpio_get_value( unsigned gpio );
44
void gpio_set_value( unsigned gpio, int value );
48
void gpio_set_value( unsigned gpio, int value );
-
 
49
-
 
50
#if defined( __cplusplus )
-
 
51
}
-
 
52
#endif
45
53
46
#endif  /* USER_GPIO_H */
54
#endif  /* USER_GPIO_H */
47
55