ARM Technical Support Knowledge Articles

USING THE SWATCH BUILT-IN FUNCTION

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

What does the swatch built-in function in the uVision Debugger do?

ANSWER

The swatch built-in function is prototyped as follows:

void swatch (
  float seconds);

This built-in debugger function delays inside a signal function for the specified number of seconds. On microcontrollers with slow-clock, power-saving modes, this delay function is accurate even in slow-down modes.

SEE ALSO

Article last edited on: 2004-06-28 10:24:10

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