Interface definition for the FXOS8700 sensor driver. More...
Interface definition for the FXOS8700 sensor driver.
Definition in file fxos8700.h.
 Include dependency graph for fxos8700.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | fxos8700_params_t | 
| Parameters needed for device initialization.  More... | |
| struct | fxos8700_measurement_t | 
| Individual 3-axis measurement.  More... | |
| struct | fxos8700_t | 
| Device descriptor for a FXOS8700 device.  More... | |
Macros | |
| #define | CONFIG_FXOS8700_USE_ACC_RAW_VALUES | 
| Default raw value mode for accelerator.  More... | |
Enumerations | |
| enum | {  FXOS8700_OK = 0 , FXOS8700_ADDRERR = -1 , FXOS8700_NOBUS = -2 , FXOS8700_NODEV = -3 , FXOS8700_BUSERR = -4 }  | 
| FXOS8700 specific return values.  More... | |
Functions | |
| int | fxos8700_init (fxos8700_t *dev, const fxos8700_params_t *params) | 
| Initialize an FXOS8700 device.  More... | |
| int | fxos8700_set_active (const fxos8700_t *dev) | 
| Convenience function for turning on the FXOS8700.  More... | |
| int | fxos8700_set_idle (const fxos8700_t *dev) | 
| Convenience function for turning off the FXOS8700.  More... | |
| int | fxos8700_read (const fxos8700_t *dev, fxos8700_measurement_t *acc, fxos8700_measurement_t *mag) | 
| Convenience function for reading acceleration and magnetic field.  More... | |
| int | fxos8700_read_cached (const void *dev, fxos8700_measurement_t *acc, fxos8700_measurement_t *mag) | 
| Extended read function including caching capability.  More... | |