Config Interrupt Mode; Read Raw Count Data - Mcube EV3672A Quick Start Manual

Mc3672 evaluation board
Table of Contents

Advertisement

MC3672 3-Axis Accelerometer
sniff 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.
EV3672A/B Quick Start Guide and Demo
APS-045-0017v1.5
14 / 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ev3672b

Table of Contents