Skip to main content

IAR Embedded Workbench for Arm 9.70.x

execUserStatus

In this section:
Syntax
execUserStatus()
Return value

Return value

Description

-1

The status is invalid. Ignore this status.

0x20

The CPU is not powered or clock gated. Do not access any core debug registers.

For use with

The C-SPY I-jet driver

The C-SPY CMSIS-DAP driver

Description

Use this macro to handle situations where core debug registers cannot be accessed by the debugger, for instance, when the core is in a deep sleep state or when the core power or clock is gated. Use a probe configuration file together with this macro to avoid accessing unpowered debug components.

The macro is called before the processor status is polled.

This macro overrides the _ExecDeviceStatus macro if that macro is present in the board configuration file.