debugger.Timer.Detail


This function sets measurement conditions of a conditional timer. [RH850][E1/E20/Full-spec emulator/IE850A]

[Specification format]

debugger.Timer.Detail(timerNumber = "", timerOption)

[Argument(s)]

Argument

Description

timerNumber

Specify the timer event number for which you wish to set measurement conditions.

timerOption

Set measurement conditions of a conditional timer.

Member

Target Device

Description

TimerOption.PassCount

RH850

Pass count

TimerOption.MinCount

RH850

Minimum count

TimerOption.MaxCount

RH850

Maximum count

TimerOption.AddCount

RH850

Add count

[Return value]

If setting measurement conditions of a conditional timer was disabled successfully: True

If there was an error when setting measurement conditions of a conditional timer: False

[Detailed description]

-

This function sets measurement conditions of the timer event number specified by timerNumber.

-

If timerNumber is not specified, then measurement conditions of all timer events will be set.

[Example of use]

>>>debugger.Timer.Information()
1 Timer Result1 Enable 0x00001000 - 0x00002000
2 Timer Result2 Enable 0x00003000 - 0x00004000
>>>debugger.Timer.Detail(1, TimerOption.PassCount)    …Change the timer measurement condition to pass count
True
>>>

 

>>>debugger.Timer.Detail(TimerOption.MaxCount)    …Change the timer measurement condition of all timer events to maximum execution time
True
>>>