Classes | Defines

qepower.h File Reference

#include "9302hw.h"
#include "qeanalog.h"
#include "property.h"
#include "singleton.h"

Go to the source code of this file.

Classes

class  CQEPower
 CQEPower is used to get power information such as battery voltage, battery status, and to initiate a system power-down. More...

Defines

#define QP_OBJECT   2
#define QP_PROP_HARDWARE_VERSION   PROP_ID(QP_OBJECT, 0)
#define QP_PROP_BREAKER_STATE   PROP_ID(QP_OBJECT, 1)
#define QP_PROP_MAIN_BATT_VOLTAGE   PROP_ID(QP_OBJECT, 2)
#define QP_PROP_MAIN_BATT_STATE   PROP_ID(QP_OBJECT, 3)
#define QP_PROP_BACKUP_BATT_VOLTAGE   PROP_ID(QP_OBJECT, 4)
#define QP_PROP_BACKUP_BATT_STATE   PROP_ID(QP_OBJECT, 5)
#define QP_PROP_MAIN_5V_VOLTAGE   PROP_ID(QP_OBJECT, 6)
#define QP_PROP_IO_5V_VOLTAGE   PROP_ID(QP_OBJECT, 7)
#define QP_PROP_IO_5V_STATE   PROP_ID(QP_OBJECT, 8)

Define Documentation

#define QP_OBJECT   2
#define QP_PROP_BACKUP_BATT_STATE   PROP_ID(QP_OBJECT, 5)
#define QP_PROP_BACKUP_BATT_VOLTAGE   PROP_ID(QP_OBJECT, 4)
#define QP_PROP_BREAKER_STATE   PROP_ID(QP_OBJECT, 1)
#define QP_PROP_HARDWARE_VERSION   PROP_ID(QP_OBJECT, 0)
#define QP_PROP_IO_5V_STATE   PROP_ID(QP_OBJECT, 8)
#define QP_PROP_IO_5V_VOLTAGE   PROP_ID(QP_OBJECT, 7)
#define QP_PROP_MAIN_5V_VOLTAGE   PROP_ID(QP_OBJECT, 6)
#define QP_PROP_MAIN_BATT_STATE   PROP_ID(QP_OBJECT, 3)
#define QP_PROP_MAIN_BATT_VOLTAGE   PROP_ID(QP_OBJECT, 2)