enhancing Multitech's library for some accelerometer

Fork of MMA845x by Multi-Hackers

Changes

RevisionDateWhoCommit message
18:2316ca98e599 2018-07-05 amateusz FIX setting LowPower mode <- wrong bitmask was setting Fast mode instead, SIC default tip
17:ff9a9933d123 2018-07-05 amateusz fixed INT_DRDY bitmask; exposed configInterrupt to public //
16:eefd7fc1b19f 2018-07-04 amateusz fix: result (of configInterrupt) was never a used
15:8544130b5def 2018-07-04 amateusz todo update
14:683234dfe179 2018-07-04 amateusz implemented single tap setup
13:77a8994b3bb2 2018-07-03 amateusz generic interface for enabling/disabling interrupts
12:92294b5ca1c1 2018-07-02 amateusz added interrupt bitmasks. they happen to be shared among CTRL_REG4, CTRL_REG5 and INT_SOURCE; added INT_PINs; modified proto for enableOrientation to include some parameters
11:8dc4f77b2f53 2018-07-02 amateusz added interrupt bitmasks
10:89dd748f9211 2018-07-02 amateusz orientation detection is supported by every version, although limited compared to MMA8451
9:645f94e7e1d5 2018-07-02 amateusz error in setting oversampling mode. (0xFB ? 0xF8) ? yeah I know, they look similar //
8:0eb2995f0ecb 2018-07-02 amateusz change WAKE ? AWAKE state name to be consitient with datasheet
7:90ce70da8673 2018-07-02 amateusz Mentioning that setCommonParameters actually also turns activeMode on implicitly
6:b6f541c91c62 2018-07-02 amateusz Mentioning that setCommonParameters actually does turn activeMode implicitly.
5:d662a7003b6f 2018-01-31 Evan Hosseini Make driver thread safe by making i2c read transactions atomic
4:4ff1650da84c 2016-10-17 Leon Lindenfelser Remove disable and enable of irqs around I2C accesses. Mbed5 takes care of peripheral access protection.
3:7c2fbf79f607 2015-12-21 Mike Fiore protect serial transactions by disabling interrupts
2:70df6adad015 2015-10-28 mfiore <CTRL><SHIFT><f> for formatting
1:41af2b3eefb5 2015-07-06 falingtrea Added basic setup functions and added RTOS calls. Set data get to poll if interrupt pointers are set to NULL.
0:9d1e3a344e4f 2013-03-29 sam_grove Work in progress