Buy Contact NSDSP Home

mcu_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 ConstantBreakpoint Capability
0x00000001MCU_BP_EXEC The breakpoint may be used as an execution breakpoint
0x00000002MCU_BP_DATA The breakpoint may be used as a data breakpoint
0x00000004MCU_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.
0x00000008MCU_BP_VALUE You can configure the breakpoint to halt only if a specific value is read/written.
0x00000010MCU_BP_STATE Breakpoint state can be read with nsdsp_debug_read_bp_state function.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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