ARM Technical Support Knowledge Articles

ONE-SHOT SIGNAL FUNCTIONS

Applies to: uVision Debugger

Answer


Information in this article applies to:


SYMPTOM

When I define a simulator signal function, the simulator complains that I need to include a twatch(), even though this function performs a single action then exits, when I press a button.

CAUSE

Signal functions are intended to simulate repetitive actions.

RESOLUTION

You can call a user function from a button, the same as a signal function. Define your action(s) inside a function, instead of a signal function, and you won't be required to include any watch commands.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-01-12 13:32:44

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential