![]() |
ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
|
Macros | |
#define | MMA955x_1_DATA_TYPE mma955x_PedometerNativeData_t |
#define | MMA955x_1_SAMPLE_OFFSET (26) |
#define | MMA955x_1_SAMPLE_SIZE (6) |
#define | MMA955x_1_CONFIG_REGISTER_READ_OFFSET (0) |
#define | MMA955x_1_CONFIG_REGISTER_SIZE (sizeof(mma955x_readConfigResponseBuffer_t)) |
#define | MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_2g (0.000061035156) |
#define | MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_4g (0.000122070312) |
#define | MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_8g (0.000244140624) |
Functions | |
void | mma955xSetSamplingRate (uint32 samplePeriod) |
Variables | |
uint8 | MMA955x_1_ConfigRegisterBuffer [MMA955x_1_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_1_Sensor_Specific_Config |
This allows access to the sensor specific configuration for the target sensor. More... | |
const isf_dsa_Adapter_t | MMA955x_1_Adapter |
This creates the sensor adapter instance for the target sensor. More... | |
const i2c_device_t | MMA955x_1_DeviceInfo |
This allows access to the sensor communications specific configuration. More... | |
mma955x_Sensor_Specific_Settings_t | MMA955x_1_Sensor_Specific_Config |
This allows access to the sensor specific configuration for the target sensor. More... | |
const isf_dsa_Adapter_t | MMA955x_1_Adapter |
This allows access to the sensor adapter instance for the target sensor. More... | |
const i2c_device_t | MMA955x_1_DeviceInfo |
This allows access to the sensor communications specific configuration. More... | |
#define MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_2g (0.000061035156) |
Definition at line 57 of file MMA955x_1.h.
#define MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_4g (0.000122070312) |
Definition at line 58 of file MMA955x_1.h.
#define MMA955x_1_ACC_FLOAT_CONVERSION_FACTOR_8g (0.000244140624) |
Definition at line 59 of file MMA955x_1.h.
#define MMA955x_1_CONFIG_REGISTER_READ_OFFSET (0) |
Definition at line 53 of file MMA955x_1.h.
#define MMA955x_1_CONFIG_REGISTER_SIZE (sizeof(mma955x_readConfigResponseBuffer_t)) |
Definition at line 54 of file MMA955x_1.h.
#define MMA955x_1_DATA_TYPE mma955x_PedometerNativeData_t |
Definition at line 50 of file MMA955x_1.h.
#define MMA955x_1_SAMPLE_OFFSET (26) |
Definition at line 51 of file MMA955x_1.h.
#define MMA955x_1_SAMPLE_SIZE (6) |
Definition at line 52 of file MMA955x_1.h.
void mma955xSetSamplingRate | ( | uint32 | samplePeriod | ) |
Definition at line 221 of file MMA955x_1.c.
const uint8 ApplicationPriorities[] |
Definition at line 57 of file MMA955x_1.c.
Referenced by mma955xSetSamplingRate().
const uint8 const FSRange_2g[] = { 0x06, 0x20, 0x00, 0x01, 0x40 } |
Definition at line 66 of file MMA955x_1.c.
const uint8 const FSRange_4g[] = { 0x06, 0x20, 0x00, 0x01, 0x80 } |
Definition at line 67 of file MMA955x_1.c.
const uint8 const FSRange_8g[] = { 0x06, 0x20, 0x00, 0x01, 0x00 } |
Definition at line 68 of file MMA955x_1.c.
const uint8 const LegacyMode[] = { 0x18, 0x20, 0x00, 0x01, 0x10 } |
Definition at line 71 of file MMA955x_1.c.
const uint8 const MBoxQRDataXYZ[] = { 0x04, 0x20, 0x2C, 0x0C, 0x06, 0x13, 0x06, 0x12, 0x06, 0x15, 0x06, 0x14, 0x06, 0x17, 0x06, 0x16 } |
Definition at line 74 of file MMA955x_1.c.
const isf_dsa_Adapter_t MMA955x_1_Adapter |
This allows access to the sensor adapter instance for the target sensor.
This allows access to the sensor adapter instance for the target sensor.
Definition at line 198 of file MMA955x_1.c.
const isf_dsa_Adapter_t MMA955x_1_Adapter |
This creates the sensor adapter instance for the target sensor.
This allows access to the sensor adapter instance for the target sensor.
Definition at line 198 of file MMA955x_1.c.
uint8 MMA955x_1_ConfigRegisterBuffer[MMA955x_1_CONFIG_REGISTER_SIZE] |
Definition at line 42 of file MMA955x_1.c.
const i2c_device_t MMA955x_1_DeviceInfo |
This allows access to the sensor communications specific configuration.
Definition at line 213 of file MMA955x_1.c.
const i2c_device_t MMA955x_1_DeviceInfo |
This allows access to the sensor communications specific configuration.
Definition at line 213 of file MMA955x_1.c.
mma955x_Sensor_Specific_Settings_t MMA955x_1_Sensor_Specific_Config |
This allows access to the sensor specific configuration for the target sensor.
Definition at line 172 of file MMA955x_1.c.
mma955x_Sensor_Specific_Settings_t MMA955x_1_Sensor_Specific_Config |
This allows access to the sensor specific configuration for the target sensor.
Definition at line 172 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_ConfigureSequence[] |
Definition at line 89 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_InitializeSequence[] |
Definition at line 80 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_ReadConfigurationSequence[] |
Definition at line 145 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_ReadPeadometerDataSequence[] |
Definition at line 163 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_ShutdownDataSequence[] |
Definition at line 136 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_StartDataSequence[] |
Definition at line 118 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_StopDataSequence[] |
Definition at line 127 of file MMA955x_1.c.
const mma955x_Command_t const MMA955x_WriteConfigurationSequence[] |
Definition at line 154 of file MMA955x_1.c.
const uint8 const NormalMode[] = { 0x18, 0x20, 0x00, 0x01, 0x00 } |
Definition at line 72 of file MMA955x_1.c.
const uint8 const ReadPedometerConfiguration[] = { 0x15, 0x10, 0x00, 0x11 } |
Definition at line 77 of file MMA955x_1.c.
const uint8 const ReadPedometerData[] = { 0x15, 0x30, 0x00, 0x0C } |
Definition at line 76 of file MMA955x_1.c.
const uint8 SampleRates[] |
Definition at line 49 of file MMA955x_1.c.
Referenced by mma955xSetSamplingRate().
uint8 SelectedAFEPriority[] = { 0x01, 0x20, 0x32, 0x01, 0x00 } |
Definition at line 46 of file MMA955x_1.c.
Referenced by mma955xSetSamplingRate().
uint8 SelectedMBoxPriority[] = { 0x01, 0x20, 0x30, 0x01, 0x00 } |
Definition at line 47 of file MMA955x_1.c.
Referenced by mma955xSetSamplingRate().
uint8 SelectedSampleRate[] = { 0x06, 0x20, 0x0C, 0x01, 0x00 } |
Definition at line 45 of file MMA955x_1.c.
Referenced by mma955xSetSamplingRate().
const uint8 const SleepApplication[] = { 0x12, 0x20, 0x06, 0x01, 0x01 } |
Definition at line 73 of file MMA955x_1.c.
const uint8 const WakeApplication[] = { 0x12, 0x20, 0x06, 0x01, 0x00 } |
Definition at line 70 of file MMA955x_1.c.
const uint8 const WritePedometerConfiguration[] = { 0x15, 0x20, 0x00, 0x11 } |
Definition at line 78 of file MMA955x_1.c.