mcu_debug_cap
mcu_bp_classes mcu_bp_class_first mcu_bp_class_count mcu_bp_class_cap mcu_bp_class_max_count mcu_debug_rom_reserve mcu_debug_ram_reservemcu_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 | Constant | Capability |
|---|---|---|
| 0x00000002 | MCU_DBG_ORDERED_HALT | The device uses ordered halting |
| 0x00000004 | MCU_DBG_READ_ROM | It is possible to read ROM during debugging |
| 0x00000008 | MCU_DBG_RUNTIME_READ | It is possible to read RAM when the device is not halted |
| 0x00000010 | MCU_DBG_RUNTIME_HARD_BP | It is possible to manipulate hardware breakpoints when the device is not halted |
| 0x00000020 | MCU_DBG_RUNTIME_SOFT_BP | It is possible to manipulate software breakpoints when the device is not halted |
| 0x00000040 | MCU_DBG_APP_IO | The application being debugged can send information to the debugger |
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.