Cart Contact NSDSP Home

mcu_bp_class_count

This function returns the number of breakpoints in a class.

Syntax

int mcu_bp_class_count(
        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 breakpoints in the class will have consecutive ids starting from the id returned by mcu_bp_class_first function. The number of breakpoints in the class is returned by this function.

Breakpoint ids may be used in nsdsp_debug_enable_exec_bp, nsdsp_debug_enable_read_bp, nsdsp_debug_enable_write_bp, and nsdsp_debug_disable_bp functions.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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