Everything

debugger.Interrupt.PseudoInterrupt


This function generates pseudo-interrupts. [RL78 instruction simulator]

[Specification format]

debugger.Interrupt.PseudoInterrupt(vectorAddress, priority)
 

[Argument(s)]

Argument

Description

vectorAddress

Specify the interrupt name (string) or vector address (numerical value: 0x4 to 0x7c).

priority

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

[Return value]

If interrupts were generated successfully : True

If there was an error when generating interrupts : False

[Detailed description]

-

An interrupt is generated in the interrupt enable (EI) state.

-

An interrupt is reserved in the interrupt disable (DI) state and generated when the state next becomes interrupt enable (EI).

-

Setting registers for the interrupt functions is not required. Among such registers, only the PSW is changed by an interrupt.

-

If a reset is generated while an interrupt is held pending, this interrupt will be deleted.

[Example of use]

>>>debugger.Interrupt.PseudoInterrupt(8, 0)
True
>>>debugger.Interrupt.PseudoInterrupt("INTWDTI", 1)
True
>>>