Share via


ACC_CONFIG_MODE (Compact 7)

3/12/2014

This enumeration indicates the device's current configuration mode.

Syntax

typedef enum 
{
    ACC_CONFIG_STREAMING_DATA_MODE
    ACC_CONFIG_ORIENTATION_MODE,
    ACC_CONFIG_COMPASS_MODE,
    ACC_CONFIG_CALIBRATION_MODE,
    ACC_CONFIG_LAST_MODE = ACC_CONFIG_CALIBRATION_MODE,
}ACC_CONFIG_MODE;

Members

  • ACC_CONFIG_STREAMING_DATA_MODE
    Default. Streaming data mode. The accelerometer data sample is acquired from accelerometer hardware and is constantly sent back to upper subscribers at a fixed frequency.
  • ACC_CONFIG_ORIENTATION_MODE
    Orientation sensing mode. The accelerometer driver only signals the subscriber when an orientation change is detected.
  • ACC_CONFIG_COMPASS_MODE
    Compass simulation mode. The accelerometer driver signals the subscriber when a small angle change is detected. This mode is designed for digital compass applications.
  • ACC_CONFIG_CALIBRATION_MODE
    Device calibration mode. This mode is used for calibrating the accelerometer hardware.
  • ACC_CONFIG_LAST_MODE
    Reserved.

Requirements

Header

accapi.h

sysgen

SYSGEN_ACCELEROMETER

See Also

Reference

Accelerometer COREDLL.DLL Enumerations