Reference   Language | Libraries | Comparison | Changes

CurieIMU

getInterruptStatus()

Description

Returns the status of the interrupt for the selected feature.

Syntax

CurieIMU.getInterruptStatus(int feature)

Parameters

feature: the feature for which the interrupt has to be enabled. It can assume one of these values:

  • CURIE_IMU_FREEFALL
  • CURIE_IMU_SHOCK
  • CURIE_IMU_MOTION
  • CURIE_IMU_ZERO_MOTION
  • CURIE_IMU_STEP
  • CURIE_IMU_TAP
  • CURIE_IMU_TAP_SHOCK
  • CURIE_IMU_TAP_QUIET
  • CURIE_IMU_DOUBLE_TAP
  • CURIE_IMU_FIFO_FULL
  • CURIE_IMU_DATA_READY

Returns

True or false if an interrupt has been triggered for the selected feature

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share