mcu_bp_class_cap
mcu_bp_class_max_count mcu_debug_rom_reserve mcu_debug_ram_reservemcu_bp_class_cap
This function returns capabilities of breakpoints in a class.
Syntax
unsigned int mcu_bp_class_cap(
mcu_t mcu,
int bp_class
);
Parameters
mcu - a reference to the MCU object returned by mcu_create or mcu_get_slave_core function.
bp_class - an index of the breakpoint class. The index must be between 1 and the number returned by mcu_bp_classes function.
Return
The function returns a combination of the following flags:
Flag | Constant | Breakpoint Capability |
---|---|---|
0x00000001 | MCU_BP_EXEC | The breakpoint may be used as an execution breakpoint |
0x00000002 | MCU_BP_DATA | The breakpoint may be used as a data breakpoint |
0x00000004 | MCU_BP_COUNT | The breakpoint may have a count. You can specify a number of times the condition should be met before the breakpoint triggers a halt. |
0x00000008 | MCU_BP_VALUE | You can configure the breakpoint to halt only if a specific value is read/written. |
0x00000010 | MCU_BP_STATE | Breakpoint state can be read with nsdsp_debug_read_bp_state function. |
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.