| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Functions | Variables
MMA955x_2.c File Reference
`#include "MMA955x_2.h"`
`#include "isf_util.h"`
`#include "isf_spi_master_types.h"`
`#include "ChipSelect.h"`
`#include "SensorReset.h"`
Include dependency graph for MMA955x_2.c:

Go to the source code of this file.

## Macros
#define | FSL_SENSOR_SPI_CMD_LENG 0x1

## Functions
void | mma955xSetSamplingRate (uint32 samplePeriod)
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
uint8 | MMA955x_2_ConfigRegisterBuffer [MMA955x_2_CONFIG_REGISTER_SIZE]
uint8 | SelectedSampleRate [] = { 0x06, 0x20, 0x0C, 0x01, 0x00 }
uint8 | SelectedAFEPriority [] = { 0x01, 0x20, 0x32, 0x01, 0x00 }
uint8 | SelectedMBoxPriority [] = { 0x01, 0x20, 0x30, 0x01, 0x00 }
const uint8 | SampleRates []
const uint8 | ApplicationPriorities []
const uint8 const | FSRange_2g [] = { 0x06, 0x20, 0x00, 0x01, 0x40 }
const uint8 const | FSRange_4g [] = { 0x06, 0x20, 0x00, 0x01, 0x80 }
const uint8 const | FSRange_8g [] = { 0x06, 0x20, 0x00, 0x01, 0x00 }
const uint8 const | WakeApplication [] = { 0x12, 0x20, 0x06, 0x01, 0x00 }
const uint8 const | LegacyMode [] = { 0x18, 0x20, 0x00, 0x01, 0x10 }
const uint8 const | NormalMode [] = { 0x18, 0x20, 0x00, 0x01, 0x00 }
const uint8 const | SleepApplication [] = { 0x12, 0x20, 0x06, 0x01, 0x01 }
const uint8 const | MBoxQRDataXYZ [] = { 0x04, 0x20, 0x2C, 0x0C, 0x06, 0x13, 0x06, 0x12, 0x06, 0x15, 0x06, 0x14, 0x06, 0x17, 0x06, 0x16 }
const uint8 const | ReadPedometerData [] = { 0x15, 0x30, 0x00, 0x0C }
const uint8 const | ReadPedometerConfiguration [] = { 0x15, 0x10, 0x00, 0x11 }
const uint8 const | WritePedometerConfiguration [] = { 0x15, 0x20, 0x00, 0x11 }
const mma955x_Command_t const | MMA955x_InitializeSequence []
const mma955x_Command_t const | MMA955x_ConfigureSequence []
const mma955x_Command_t const | MMA955x_StartDataSequence []
const mma955x_Command_t const | MMA955x_StopDataSequence []
const mma955x_Command_t const | MMA955x_ShutdownDataSequence []
const mma955x_Command_t const | MMA955x_ReadConfigurationSequence []
const mma955x_Command_t const | MMA955x_WriteConfigurationSequence []
const mma955x_Command_t const | MMA955x_ReadPeadometerDataSequence []
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 creates the sensor adapter instance for the target sensor. More...
spi_master_slaveInfo_t | fsl_spi_sensor_type_MMA955x_2
const spi_master_CommSpecificInfo_t | MMA955x_2_DeviceInfo
| This allows access to the sensor communications specific configuration. More...

## Detailed Description

Version
  01.00

Definition in file MMA955x_2.c.

- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.