Linux Kernel
3.7.1
|
#include <ad_sigma_delta.h>
Data Fields | |
int(* | set_channel )(struct ad_sigma_delta *, unsigned int channel) |
int(* | set_mode )(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode) |
int(* | postprocess_sample )(struct ad_sigma_delta *, unsigned int raw_sample) |
bool | has_registers |
unsigned int | addr_shift |
unsigned int | read_mask |
struct ad_sigma_delta_info - Sigma Delta driver specific callbacks and options : Will be called to select the current channel, may be NULL. : Will be called to select the current mode, may be NULL. : Is called for each sampled data word, can be used to modify or drop the sample data, it, may be NULL. : true if the device has writable and readable registers, false if there is just one read-only sample data shift register. : Shift of the register address in the communications register. : Mask for the communications register having the read bit set.
Definition at line 43 of file ad_sigma_delta.h.
unsigned int addr_shift |
Definition at line 48 of file ad_sigma_delta.h.
bool has_registers |
Definition at line 47 of file ad_sigma_delta.h.
int(* postprocess_sample)(struct ad_sigma_delta *, unsigned int raw_sample) |
Definition at line 46 of file ad_sigma_delta.h.
unsigned int read_mask |
Definition at line 49 of file ad_sigma_delta.h.
int(* set_channel)(struct ad_sigma_delta *, unsigned int channel) |
Definition at line 44 of file ad_sigma_delta.h.
int(* set_mode)(struct ad_sigma_delta *, enum ad_sigma_delta_mode mode) |
Definition at line 45 of file ad_sigma_delta.h.