Config Interrupt Mode; Read Raw Count Data - Mcube MC3635 Quick Start Manual And Demo

Hide thumbs Also See for MC3635:
Table of Contents

Advertisement

MC3635 3-Axis Accelerometer
threshold for each axis, and an optional "false detection count" which requires multiple
sniff detection events to occur before a wakeup condition is declared.
Configure sniff and/or mode with:
MC36XX_acc.SetSniffAndOrN(MC36XX_ANDORN_OR);
The SNIFF block supports the logical AND or OR of the X/Y/Z SNIFF wakeup flags when
generating a SNIFF wakeup interrupt.
Configure sniff delta mode with:
MC36XX_acc.SetSniffDeltaMode(MC36XX_DELTA_MODE_C2P);
C2P mode: The current sample and the immediate previous sample are subtracted
generate a delta
C2B mode: The current sample and the first sample captured when entering SNIFF
mode are subtracted to generate a delta.

4.12 CONFIG INTERRUPT MODE

Configure the interrupt mode with:
MC36XX_acc.SetINTCtrl(0,0,0,0,1);
MC36XX have 5 interrupt modes – FIFO_THR | FIFO FULL | FIFO EMPTY | ACQ | WAKE.
These modes can only be enabled separately.

4.13 READ RAW COUNT DATA

Read the raw count data and SI unit measurement with:
MC36XX_acc.readRawAccel();
mCube Proprietary.
© 2020 mCube Inc. All rights reserved.
EV3635B Quick Start Guide and Demo
APS-045-0018v1.2
14 / 20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents