This function sets pseudo-timers. [RL78 instruction simulator]
Specify the pseudo-timer number to be set (numerical value: 1 to 61). |
|
Specify the pseudo-timer condition. See the PseudoTimerCondition class for creating pseudo-timer conditions. |
If pseudo-timers were set successfully :True
If there was an error when setting pseudo-timers :False
A pseudo-timer with the specified pseudo-timer number is set and counting is started according to the description specified by PseudoTimerCondition. |
When counting reaches the interval time specified in PseudoTimerCondition, an interrupt is generated with the specified priority in the specified interrupt vector address. |
An interrupt is generated in the interrupt enable (EI) state. It 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, counting by the pseudo-timer will be stopped and all pseudo-timers which have been set will be deleted. |
If the pseudo-timer number which has already been set is specified, the given pseudo-timer will be enabled and setting of the new pseudo-timer will fail. |