This class holds XRunBreak information (return value of the debugger.XRunBreak.Refer and debugger.Interrupt.ReferTimer functions).
[Type]
class XRunBreakInfo:
Value = 0
TimeType = Timetype.Min
IsPeriodic = True
|
[Variable]
|
|
Value
|
This holds the event interval value.
|
TimeType
|
This holds the unit of the interval value.
|
|
|
TimeType.Min
|
Minute unit
|
TimeType.S
|
Second unit
|
TimeType.Ms
|
Millisecond unit
|
TimeType.Us
|
Microsecond unit
|
TimeType.Ns
|
Nanosecond unit
|
IsPeriodic
|
This holds whether the callback is used periodically.
|
[Detailed description]
[Example of use]
>>>debugger.XRunBreak.Set(10, TimeType.S, True)
>>>info = debugger.XRunBreak.Refer()
10Second Periodic
>>>print info.Value
10
>>>print info.TimeType
S
>>>print info.IsPeriodic
True
>>>
|