Everything

PseudoTimerCondition


This class creates conditions for pseudo-timer (parameter of debugger.PseudoTimer.Set function). [RL78 instruction simulator]

[Type]

class PseudoTimerCondition:
    VectorAddr = None
    Priority = 3
    IntervalTime = 1
    IntervalTimeUnit = IntervalTimeUnit.Ms
    Periodic = False

[Variable]

Variable

Description

VectorAddr

Specify the vector address (numerical value: 0, 0x4 to 0x7c, string: the name of a maskable interrupt or “Reset”) of the interrupt which is to be generated when the interval time of the pseudo-timer matches the condition.

Must be specified.

Priority

Specify the interrupt priority (numerical value: 0 to 3).

IntervalTime

Specify the interval time for the pseudo-timer (numerical value: 0x1 to 0xFFFFFFFF).

IntervalTimeUnit

Specify the unit of the interval time.

The following lists the specifiable units.

Type

Description

IntervalTimeUnit.Min

Minutes

IntervalTimeUnit.S

Seconds

IntervalTimeUnit.Ms

Milliseconds

IntervalTimeUnit.Us

Microseconds

IntervalTimeUnit.Ns

Nanoseconds

IntervalTimeUnit.Clock

CPU clock cycles

Periodic

Specify whether an interrupt is to be generated each time the specified time elapses.

True: An interrupt is generated each time the specified interval elapses.

False: An interrupt is only generated once.

[Detailed description]

-

"PseudoTimerCondition" is in class format, and the condition of a pseudo timer is set in the variable.
In order to create a condition of a pseudo timer, create an instance, and set conditions for that instance.