![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | MMA9553_HDR_SIZE (4) |
Size of fixed header bytes in sensor commands. More... | |
#define | VERSION_INFO_SIZE (12) |
Size of Version Info. More... | |
#define | STANDBY_REG_SIZE (4) |
Size of Standby Registers. More... | |
#define | MMA9553_XYZ_DATA_OFFSET (26) |
XYZ Data Register Offset. More... | |
#define | MMA9553_I2C_ADDRESS (0x4C) |
The MMA9553 I2C Slave Address. More... | |
Variables | |
const uint8_t | ReadVersionInfo [4] |
The Read Version Info Command. More... | |
const uint8_t | MBoxQRDataXYZ [16] |
Configure MBOX for QR Data and XYZ Axes Command. More... | |
const uint8_t | SetLegacyMode [5] |
Set Sensor to Legacy (free running) Mode Command. More... | |
const uint8_t | SetLegacyIntMode [5] |
Set Sensor to Legacy Mode with INT_O interrupt on completion of the AFE sampling. More... | |
const uint8_t | WakeApplication [5] |
Set sensor to Wake Mode Command. More... | |
const uint8_t | ResetApplication [5] |
Command to reset all applications of the sensor. More... | |
const uint8_t | SetFSRange_2g [5] |
Full-Scale Range Selections. More... | |
const uint8_t | SetFSRange_4g [5] |
const uint8_t | SetFSRange_8g [5] |
const uint8_t | SetSampleRate_488Hz [5] |
Sample Rate Commands. More... | |
const uint8_t | SetSampleRate_244Hz [5] |
const uint8_t | SetSampleRate_122Hz [5] |
const uint8_t | SetSampleRate_61Hz [5] |
const uint8_t | SetSampleRate_30Hz [5] |
const uint8_t | SetSampleRate_15Hz [5] |
const uint8_t | SetSampleRate_7Hz [5] |
const uint8_t | SetSampleRate_3Hz [5] |
const uint8_t | SetAFEPriority_for488Hz [5] |
AFE Priority Commands. More... | |
const uint8_t | SetAFEPriority_for224Hz [5] |
const uint8_t | SetAFEPriority_for122Hz [5] |
const uint8_t | SetAFEPriority_for61Hz [5] |
const uint8_t | SetAFEPriority_for30Hz [5] |
const uint8_t | SetAFEPriority_for15Hz [5] |
const uint8_t | SetAFEPriority_for7Hz [5] |
const uint8_t | SetAFEPriority_for3Hz [5] |
const uint8_t | SetMBoxPriority_for488Hz [5] |
MBox Priority Commands. More... | |
const uint8_t | SetMBoxPriority_for244Hz [5] |
const uint8_t | SetMBoxPriority_for122Hz [5] |
const uint8_t | SetMBoxPriority_for61Hz [5] |
const uint8_t | SetMBoxPriority_for30Hz [5] |
const uint8_t | SetMBoxPriority_for15Hz [5] |
const uint8_t | SetMBoxPriority_for7Hz [5] |
const uint8_t | SetMBoxPriority_for3Hz [5] |
const uint8_t | ReadPedometerData [4] |
Command to Read Pedometer Data. More... | |
#define MMA9553_HDR_SIZE (4) |
Size of fixed header bytes in sensor commands.
Definition at line 14 of file mma9553.h.
Referenced by ADS_MMA9553Query(), MMA9553_I2C_Configure(), MMA9553_I2C_Initialize(), MMA9553_SPI_Configure(), and MMA9553_SPI_Initialize().
#define MMA9553_I2C_ADDRESS (0x4C) |
#define MMA9553_XYZ_DATA_OFFSET (26) |
#define STANDBY_REG_SIZE (4) |
Size of Standby Registers.
Definition at line 20 of file mma9553.h.
Referenced by MMA9553_I2C_Configure(), and MMA9553_SPI_Configure().
const uint8_t MBoxQRDataXYZ[16] |
Configure MBOX for QR Data and XYZ Axes Command.
Definition at line 47 of file mma9553_drv.c.
const uint8_t ReadPedometerData[4] |
Command to Read Pedometer Data.
Definition at line 98 of file mma9553_drv.c.
const uint8_t ReadVersionInfo[4] |
The Read Version Info Command.
Definition at line 44 of file mma9553_drv.c.
Referenced by MMA9553_I2C_Initialize(), and MMA9553_SPI_Initialize().
const uint8_t ResetApplication[5] |
Command to reset all applications of the sensor.
Definition at line 60 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for122Hz[5] |
Definition at line 80 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for15Hz[5] |
Definition at line 83 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for224Hz[5] |
Definition at line 79 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for30Hz[5] |
Definition at line 82 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for3Hz[5] |
Definition at line 85 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for488Hz[5] |
AFE Priority Commands.
Definition at line 78 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for61Hz[5] |
Definition at line 81 of file mma9553_drv.c.
const uint8_t SetAFEPriority_for7Hz[5] |
Definition at line 84 of file mma9553_drv.c.
const uint8_t SetFSRange_2g[5] |
Full-Scale Range Selections.
Definition at line 63 of file mma9553_drv.c.
const uint8_t SetFSRange_4g[5] |
Definition at line 64 of file mma9553_drv.c.
const uint8_t SetFSRange_8g[5] |
Definition at line 65 of file mma9553_drv.c.
const uint8_t SetLegacyIntMode[5] |
Set Sensor to Legacy Mode with INT_O interrupt on completion of the AFE sampling.
Definition at line 54 of file mma9553_drv.c.
const uint8_t SetLegacyMode[5] |
Set Sensor to Legacy (free running) Mode Command.
Definition at line 51 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for122Hz[5] |
Definition at line 90 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for15Hz[5] |
Definition at line 93 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for244Hz[5] |
Definition at line 89 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for30Hz[5] |
Definition at line 92 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for3Hz[5] |
Definition at line 95 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for488Hz[5] |
MBox Priority Commands.
Definition at line 88 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for61Hz[5] |
Definition at line 91 of file mma9553_drv.c.
const uint8_t SetMBoxPriority_for7Hz[5] |
Definition at line 94 of file mma9553_drv.c.
const uint8_t SetSampleRate_122Hz[5] |
Definition at line 70 of file mma9553_drv.c.
const uint8_t SetSampleRate_15Hz[5] |
Definition at line 73 of file mma9553_drv.c.
const uint8_t SetSampleRate_244Hz[5] |
Definition at line 69 of file mma9553_drv.c.
const uint8_t SetSampleRate_30Hz[5] |
Definition at line 72 of file mma9553_drv.c.
const uint8_t SetSampleRate_3Hz[5] |
Definition at line 75 of file mma9553_drv.c.
const uint8_t SetSampleRate_488Hz[5] |
Sample Rate Commands.
Definition at line 68 of file mma9553_drv.c.
const uint8_t SetSampleRate_61Hz[5] |
Definition at line 71 of file mma9553_drv.c.
const uint8_t SetSampleRate_7Hz[5] |
Definition at line 74 of file mma9553_drv.c.
const uint8_t WakeApplication[5] |
Set sensor to Wake Mode Command.
Definition at line 57 of file mma9553_drv.c.