CurrentConsumptionInfo


This class holds information of current consumption data (return value of the debugger.CurrentConsumption.Get function). [RL78/G10,G11,G12,G13,G14][Simulator]

[Type]

class CurrentConsumptionInfo:
        Max = 0
        Average = 0
        Count = 0
        ModuleNames = []

[Variable]

Variable

Description

Max

This holds the maximum current (uA).

Average

This holds the average current (uA).

Count

This holds the count of current consumption data.

ModuleNames

This holds a list of the peripheral modules for which measurement was performed.

[Detailed description]

-

CurrentConsumptionInfo is a class, and it is passed as the return value when the debugger.CurrentConsumption.Get function is executed.

[Example of use]

>>>ci = debugger.CurrentConsumption.Get()
Max = 120.20, Average = 30.20
>>>print ci.Max
120.20
>>>print ci.Count
3020
>>>