![]() |
Sensorian
1.0
C API Reference Guide Library
|
Functions | |
| void | FXOS8700CQ_Initialize (void) |
| Initialize FXOS8700CQ, configure for an output rate of 200Hz with a +/- 2g scale. More... | |
| char | FXOS8700CQ_ReadStatusReg (void) |
| Return the value of the status register. More... | |
| void | FXOS8700CQ_ActiveMode (void) |
| Starts up the sensor in Active mode. More... | |
| char | FXOS8700CQ_StandbyMode (void) |
| Starts up the sensor in Active mode. More... | |
| void | FXOS8700CQ_HybridMode (void) |
| Configure the sensor in hybrid mode both the accelerometer and the magnetometer are active for data output. More... | |
| char | FXOS8700CQ_GetChipMode (void) |
| Returns current mode of the chip. More... | |
| char | FXOS8700CQ_ID (void) |
| Returns the chip ID. More... | |
| void | FXOS8700CQ_ConfigureAccelerometer (void) |
| Configure the accelerometer for data output. More... | |
| void | FXOS8700CQ_PollAccelerometer (rawdata_t *accel_data) |
| Accelerometer data is left justified. More... | |
| void | FXOS8700CQ_HighPassFilter (char status) |
| Enables or disables higpass filter on accelerometer data. More... | |
| void | FXOS8700CQ_FullScaleRange (range_t range) |
| Configures the full scale range of the Accelerometer. More... | |
| void | FXOS8700CQ_SetAccelerometerDynamicRange (range_t range) |
| Returns current mode of the chip. More... | |
| void | FXOS8700CQ_ConfigureMagnetometer (void) |
| Configure the magnetometer for data output. More... | |
| void | FXOS8700CQ_PollMagnetometer (rawdata_t *mag_data) |
| Return the raw magnetometer data. More... | |
| char | FXOS8700CQ_MagnetometerStatus (void) |
| Get magnetometer status. More... | |
| void | FXOS8700CQ_GetData (rawdata_t *accel_data, rawdata_t *magn_data) |
| Get raw data from both accelerometer and magnetometer. More... | |
| void | FXOS8700CQ_FIFOMode (mode_t mode) |
| Returns current mode of the chip. More... | |
| char | FXOS8700CQ_GetODR (void) |
| Get output data rate. More... | |
| void | FXOS8700CQ_SetODR (char DataRateValue) |
| Set output data rate. More... | |
| char | FXOS8700CQ_GetTemperature (void) |
| Returns the silicon die chip temperature. More... | |
| char | FXOS8700CQ_GetOrientation (void) |
| Returns current mode of the chip. More... | |
| void | FXOS8700CQ_ConfigureOrientation (void) |
| Configure Orientation mode. More... | |
| void | FXOS8700CQ_ConfigureGenericTapMode (void) |
| Configure Single Tap mode. More... | |
| void | FXOS8700CQ_ConfigureSingleTapMode (void) |
| Configure Single Tap mode. More... | |
| void | FXOS8700CQ_ConfigureDoubleTapMode (void) |
| DoubleTap_LowPowerMode_NoLPF_400HzODR. More... | |
These functions expose the accelerometer and magnetometer functionality
| void FXOS8700CQ_ActiveMode | ( | void | ) |
| void FXOS8700CQ_ConfigureAccelerometer | ( | void | ) |
Configure the accelerometer for data output.
Definition at line 126 of file FXOS8700CQ.c.
| void FXOS8700CQ_ConfigureDoubleTapMode | ( | void | ) |
| void FXOS8700CQ_ConfigureGenericTapMode | ( | void | ) |
| void FXOS8700CQ_ConfigureMagnetometer | ( | void | ) |
Configure the magnetometer for data output.
Definition at line 202 of file FXOS8700CQ.c.
| void FXOS8700CQ_ConfigureOrientation | ( | void | ) |
| void FXOS8700CQ_ConfigureSingleTapMode | ( | void | ) |
| void FXOS8700CQ_FIFOMode | ( | mode_t | mode | ) |
Returns current mode of the chip.
| mode | FIFO mode |
Definition at line 273 of file FXOS8700CQ.c.
| void FXOS8700CQ_FullScaleRange | ( | range_t | range | ) |
Configures the full scale range of the Accelerometer.
| range | full scale range. |
Definition at line 164 of file FXOS8700CQ.c.
| char FXOS8700CQ_GetChipMode | ( | void | ) |
Returns current mode of the chip.
Definition at line 106 of file FXOS8700CQ.c.
Get raw data from both accelerometer and magnetometer.
| *accel_data | Pointer to accelerometer data to read into. |
| *magn_data | Pointer to magnetometer data to read into. |
Definition at line 240 of file FXOS8700CQ.c.
| char FXOS8700CQ_GetODR | ( | void | ) |
Get output data rate.
Definition at line 282 of file FXOS8700CQ.c.
| char FXOS8700CQ_GetOrientation | ( | void | ) |
Returns current mode of the chip.
Definition at line 318 of file FXOS8700CQ.c.
| char FXOS8700CQ_GetTemperature | ( | void | ) |
Returns the silicon die chip temperature.
Definition at line 307 of file FXOS8700CQ.c.
| void FXOS8700CQ_HighPassFilter | ( | char | status | ) |
Enables or disables higpass filter on accelerometer data.
| status | Enable or disable status |
Definition at line 154 of file FXOS8700CQ.c.
| void FXOS8700CQ_HybridMode | ( | void | ) |
Configure the sensor in hybrid mode both the accelerometer and the magnetometer are active for data output.
Definition at line 91 of file FXOS8700CQ.c.
| char FXOS8700CQ_ID | ( | void | ) |
| void FXOS8700CQ_Initialize | ( | void | ) |
Initialize FXOS8700CQ, configure for an output rate of 200Hz with a +/- 2g scale.
Definition at line 42 of file FXOS8700CQ.c.
| char FXOS8700CQ_MagnetometerStatus | ( | void | ) |
Get magnetometer status.
Definition at line 228 of file FXOS8700CQ.c.
| void FXOS8700CQ_PollAccelerometer | ( | rawdata_t * | accel_data | ) |
Accelerometer data is left justified.
| *accel_data | Pointer to accelerometer data to read into. |
Definition at line 140 of file FXOS8700CQ.c.
| void FXOS8700CQ_PollMagnetometer | ( | rawdata_t * | mag_data | ) |
Return the raw magnetometer data.
| mag_data | Pointer to structure containing the 16 bit magnetometer data |
Definition at line 215 of file FXOS8700CQ.c.
| char FXOS8700CQ_ReadStatusReg | ( | void | ) |
Return the value of the status register.
Definition at line 60 of file FXOS8700CQ.c.
| void FXOS8700CQ_SetAccelerometerDynamicRange | ( | range_t | range | ) |
Returns current mode of the chip.
| range | Dynamic range settings of the accelerometer. |
Definition at line 174 of file FXOS8700CQ.c.
| void FXOS8700CQ_SetODR | ( | char | DataRateValue | ) |
Set output data rate.
| DataRateValue |
Definition at line 294 of file FXOS8700CQ.c.
| char FXOS8700CQ_StandbyMode | ( | void | ) |