Everything

ActionEventCondition


This class creates an action event condition.

[Type]

class ActionEventCondition:
        Address = ""
        Output = ""
        Expression = ""
        Vector = 0
        Priority = 1
        ActionEventType = ActionEventType.Printf

[Variable]

Variable

ActionEventType Specification

Description

Address

ActionEventType.Printf

Specify an address of an action event.

Must be specified.

ActionEventType.Interrupt

Specify an address of an action event.

Must be specified.

Output

ActionEventType.Printf

Specify a string to be attached at output.

ActionEventType.Interrupt

Ignored.

Expression

ActionEventType.Printf

Specify a variable expression.

Up to ten can be specified by delimiting them with a comma.

ActionEventType.Interrupt

Ignored.

Vector

ActionEventType.Printf

Ignored.

ActionEventType.Interrupt

Specify the interrupt vector number. [RX Simulator]

Specify a value between the range from 0 to 255.

Priority

ActionEventType.Printf

Ignored.

ActionEventType.Interrupt

Specify the interrupt priority. [RX Simulator]

Specify a value between the range from 0 to 255.

The specifiable range differs for each series. See "CS+ Integrated Development Environment User’s Manual: RX Debug Tool" for details.

ActionEventType

Specify the action event type.

The break types that can be specified are shown below.

Type

Description

ActionEventType.Printf

Printf event (default)

ActionEventType.Interrupt

Interrupt event

[Detailed description]

-

"ActionEventCondition" is in class format, and the action event condition is set in the variable.
In order to create an action event condition, create an instance, and set conditions for that instance.

[Example of use]

>>>ae = ActionEventCondition()                  ...Printf event
>>>ae.Address = 0x3000
>>>ae.Output = "chData = "
>>>ae.Expression = "chData"
>>>ae.ActionEventType = ActionEventType.Printf
>>>debugger.ActionEvent.Set(ae)
1
>>>
>>>ae = ActionEventCondition()                  ...Interrupt event
>>>ae.Address = 0x4000
>>>ae.Vector = 10
>>>ae.Priority = 2
>>>ae.ActionEventType = ActionEventType.Interrupt
>>>debugger.ActionEvent.Set(ae)
2
>>>