Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__hasDAPRegs

In this section:
Syntax
__hasDAPRegs()
Return value

Result

Value

The C-SPY driver supports the macros __readAPReg, __readDPReg, __writeAPReg, and __writeDPReg for the current CPU core.

true

The C-SPY driver does not support the macros __readAPReg, __readDPReg, __writeAPReg, and __writeDPReg for the current CPU core.

false

Table 37. __hasDAPRegs return values 


For use with

The C-SPY hardware drivers.

Description

This macro returns true if the C-SPY driver supports the macros __readAPReg, __readDPReg, __writeAPReg, and __writeDPReg for the current CPU core, otherwise it returns false.