Class Module for MMA845x I2C Accelerometer.

Dependents:   mDotEVBM2X MTDOT-EVBDemo-DRH MTDOT-BOX-EVB-Factory-Firmware-LIB-108 MTDOT-UDKDemo_Senet ... more

Fork of MMA845x by Sam Grove

Embed: (wiki syntax)

« Back to documentation index

MMA845x.cpp File Reference

MMA845x.cpp File Reference

Device driver - MMA845X 3-axis accelerometer IC W/RTOS support. More...

Go to the source code of this file.


Detailed Description

Device driver - MMA845X 3-axis accelerometer IC W/RTOS support.

Author:
Tim Barr
Version:
1.0
See also:
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8451Q.pdf
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8452Q.pdf
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8453Q.pdf

Copyright (c) 2015

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

5/5/2015 Forked from https://developer.mbed.org/users/sam_grove/code/MMA845x/

6/20/2015 TAB Added setup functions and polling data capability. Also added RTOS calls TODO Still need to add interrupt support for other Accelerometer mode support

Definition in file MMA845x.cpp.