![]() |
ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
|
#include "SPI1.h"#include "ChipSelect.h"#include "SensorReset.h"#include "mma955x.h"#include "fsl_mma955x_i2cspi_pedo.h"#include "isf_spi_master_types.h"#include "Cpu.h"

Go to the source code of this file.
Macros | |
| #define | MMA955x_2_DATA_TYPE mma955x_PedometerNativeData_t |
| #define | MMA955x_2_SAMPLE_OFFSET (26) |
| #define | MMA955x_2_SAMPLE_SIZE (6) |
| #define | MMA955x_2_CONFIG_REGISTER_READ_OFFSET (0) |
| #define | MMA955x_2_CONFIG_REGISTER_SIZE (sizeof(mma955x_readConfigResponseBuffer_t)) |
| #define | MMA955x_2_ACC_FLOAT_CONVERSION_FACTOR_2g (0.000061035156) |
| #define | MMA955x_2_ACC_FLOAT_CONVERSION_FACTOR_4g (0.000122070312) |
| #define | MMA955x_2_ACC_FLOAT_CONVERSION_FACTOR_8g (0.000244140624) |
Functions | |
| isf_status_t | fsl_955x_spi_slave_init (void) |
| isf_status_t | fsl_955x_spi_slave_write_preprocess (void *pCmdOut, uint32 offset, uint32 size, void *pWritebuffer) |
| isf_status_t | fsl_955x_spi_slave_write_postprocess (void *pCmdOut) |
| isf_status_t | fsl_955x_spi_slave_read_preprocess (void *pCmdOut, uint32 offset, uint32 size) |
| isf_status_t | fsl_955x_spi_slave_read_postprocess (void *pCmdOut, void *pDataOut) |
Variables | |
| mma955x_Sensor_Specific_Settings_t | MMA955x_2_Sensor_Specific_Config |
| This allows access to the sensor specific configuration for the target sensor. More... | |
| const isf_dsa_Adapter_t | MMA955x_2_Adapter |
| This allows access to the sensor adapter instance for the target sensor. More... | |
| const spi_master_CommSpecificInfo_t | MMA955x_2_DeviceInfo |
| This allows access to the sensor communications specific configuration. More... | |
Definition in file MMA955x_2.h.