Skip to main content

IAR Embedded Workbench for RH850 3.20.x

__setTimerStopBreak

In this section:
Syntax
__setTimerStopBreak(location, ID)
Parameters
location

A string that defines the code location of the breakpoint, either a valid C-SPY expression whose value evaluates to a valid address, an absolute location, or a source location. For more information about the location types, see Enter Location dialog box.

ID

The Timer number, an integer from 1–16 that identifies the timer that the breakpoint will stop.

Return value

Result

Value

Successful

An unsigned integer uniquely identifying the breakpoint. The same value must be used when you want to clear the breakpoint.

Unsuccessful

int 0

Table 44. __setTimerStopBreak return values


For use with

The C-SPY hardware debugger drivers.

Description

Sets a breakpoint at the specified location. When that breakpoint is triggered, the timer with the corresponding Timer number is stopped.

Example

See __setTimerStartBreak.

See also

Breakpoints.