Linux Kernel
3.7.1
|
#include <gp2ap002a00f.h>
Data Fields | |
int | vout_gpio |
bool | wakeup |
int(* | hw_setup )(struct i2c_client *client) |
int(* | hw_shutdown )(struct i2c_client *client) |
struct gp2a_platform_data - Sharp gp2ap002a00f proximity platform data : The gpio connected to the object detected pin (VOUT) : Set to true if the proximity can wake the device from suspend : Callback for setting up hardware such as gpios and vregs : Callback for properly shutting down hardware
Definition at line 15 of file gp2ap002a00f.h.
int(* hw_setup)(struct i2c_client *client) |
Definition at line 18 of file gp2ap002a00f.h.
int(* hw_shutdown)(struct i2c_client *client) |
Definition at line 19 of file gp2ap002a00f.h.
int vout_gpio |
Definition at line 16 of file gp2ap002a00f.h.
bool wakeup |
Definition at line 17 of file gp2ap002a00f.h.