
Chapter 13 Device Logic (Pawn)
Configuration of the Coulomb counter (electric charge)
Configuration flags for the PM_GetCoulombCounter() function
PM_CC_RESET
= 0x00000001,
/* Reset Coulomb counter that can be used
for the application */
13.2.21.3 Callback functions
public func();
Function to be provided by the script developer, that is called up if a failure of the supply or charging
voltage V IN has been detected
13.2.21.4 Functions
native PM_SetChargingMode(mode);
Sets the charge mode. Detailed information on the charge control is provided in chapter "Technical
details about energy management" on page 71.
Parameter
Explanation
mode
PM_CHARGING_OFF :
Charge control deactivated
PM_CHARGING_NORMAL :
Charge if the state of charge of the
rechargeable battery is <50%.
PM_CHARGING_SOLAR :
Charge continuously, if possible, and the
supply or charging voltage V IN is above 16V
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
native PM_BackupInit(funcidx);
Activates malfunction monitoring for the supply or charging voltage V IN and specifies the function that
should be called up in the event of the supply or charging voltage V IN failing
Parameter
Explanation
funcidx
Index of the public function that should be called up if a failure of the supply or
charging voltage V IN has been detected
Type of function: public func();
Explanation
Return value
l
OK, if successful
l
ERROR, if an invalid parameter was transferred
Rev. 05
209
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: ......