Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__emulatorSpeed

In this section:
Syntax
__emulatorSpeed(speed)
Parameters
speed

The emulator speed in Hz. Use 0 (zero) to make the speed automatically detected. Use -1 for adaptive speed (only for emulators supporting adaptive speed).

Return value

Result

Value

Successful

The previous speed, or 0 (zero) if unknown

Unsuccessful. The speed is not supported by the emulator

-1

Table 32. __emulatorSpeed return values 


For use with

The C-SPY hardware drivers.

Description

Sets the emulator clock frequency. For JTAG interfaces, this is the JTAG clock frequency as seen on the TCK signal.

Example
__emulatorSpeed(0)

Sets the emulator speed to be automatically detected.