Partager via


PDD_POWER_STATE (Compact 2013)

3/26/2014

This enumeration indicates the power state of the accelerometer.

Syntax

typedef enum
{
    PDD_POWER_STATE_L0
    PDD_POWER_STATE_L1,
    PDD_POWER_STATE_L2,
    PDD_POWER_STATE_L3,
    PDD_POWER_STATE_L4,
} PDD_POWER_STATE;

Members

  • PDD_POWER_STATE_L0
    Maximum power state. The device is on and running.
  • PDD_POWER_STATE_L1
    Low on. The device is fully functional but uses less power than PDD_POWER_STATE_L0. Indicates peak performance is unnecessary and power is at a premium.
  • PDD_POWER_STATE_L2
    Standby. The device is partially powered.
  • PDD_POWER_STATE_L3
    Sleep. The device is partially powered, and consumes less power than PDD_POWER_STATE_L2.
  • PDD_POWER_STATE_L4
    Off. The device consumes an insignificant amount of power.

Requirements

Library

accmdd.lib

See Also

Reference

Accelerometer PDD Enumerations
AccMddPowerEvent