Buy Contact NSDSP Home

mcu_debug_cap

This function returns debug capabilities of the target device.

Syntax

unsigned int mcu_debug_cap(
        mcu_t             mcu
);

Parameters

mcu - a reference to the MCU object returned by mcu_create or mcu_get_slave_core function.

Return

The function returns a combination of the following flags:

Flag ConstantCapability
0x00000002MCU_DBG_ORDERED_HALT The device uses ordered halting
0x00000004MCU_DBG_READ_ROM It is possible to read ROM during debugging
0x00000008MCU_DBG_RUNTIME_READ It is possible to read RAM when the device is not halted
0x00000010MCU_DBG_RUNTIME_HARD_BP It is possible to manipulate hardware breakpoints when the device is not halted
0x00000020MCU_DBG_RUNTIME_SOFT_BP It is possible to manipulate software breakpoints when the device is not halted
0x00000040MCU_DBG_APP_IO The application being debugged can send information to the debugger

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.