Reference   Language | Libraries | Comparison | Changes

CurieIMU

interruptEnabled()

Description

Return true or false if the interrupt for the selected feature is enabled or not.

Syntax

CurieIMU.interruptEnabled(int feature)

Parameter

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

Return

true or false if the interrupt is enabled or not 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.