13.2.21 Power management
13.2.21.1 Arrays with symbolic indices
TPM_Info
Information on the energy source used and power management status
// BatteryType
PSU type (see "Type of power supply unit" in chapter
//
// Flags
Power management status (see "Power
//
management status" in chapter
// VIn
Supply or charging voltage V IN in [mV]
// VBatt
Battery or rechargeable battery voltage in [mV]
// SOC
State of charge in [0.01%]
// PIn
Power consumption in [mW]
// ChargingMode
Charge mode (see "Charge mode" in chapter
//
// Description
Designation of the power supply unit
#define TPM_Info[
.BatteryType, .Flags, .VIn, .VBatt, .SOC, .PIn,
.ChargingMode, .Description{16}
]
13.2.21.2 Constants
Charging mode
PM_CHARGING_OFF
= 0,
// Charge control deactivated
PM_CHARGING_NORMAL = 1,
// charge, if state of charge <50%
PM_CHARGING_SOLAR
= 2,
// always charge when possible and
// sufficient input voltage (V IN > 16V ) is
available
Type of power supply unit
PM_BATT_TYPE_NONE
= 0,
// No battery or external power supply
PM_BATT_TYPE_NORMAL = 1,
// Battery, only discharged
PM_BATT_TYPE_LIIO
= 2,
// li-ion rechargeable battery
Power management status
PM_FLAG_CHARGING
= 0x00000001, // Charge control active
PM_FLAG_BACKUP
= 0x00000002, // Supply via internal energy source
// following failure of V IN (only if
// V IN monitoring was activated)
PM_FLAG_ERROR
= 0x00000008, /* Power management error (does not charge,
SoC cannot be determined, because
the memory of the power supply unit
could not be read, for example) */
208
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......