Cart Contact NSDSP Home

mcu_bp_class_first

This function returns the id of the first breakpoint of a class.

Syntax

int mcu_bp_class_first(
        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 the id of the first breakpoint in the class.

Notes

The breakpoints in the class will have consecutive ids starting from the id returned by this function. The number of breakpoints in the class is returned by mcu_bp_class_count.

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.