Buy Contact NSDSP Home

nsdsp_debug_is_swapped

This function determines whether the partitions are swapped.

Syntax

int nsdsp_debug_is_swapped(
        nsdsp_session_t   session
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

Return

The function returns non-zero when partitions are swapped, or zero if they are not swapped.

Notes

This function make sense only when the target device has swappable partitions ( nsdsp_debug_can_swap returns non-zero).

The value returned by this function may change in the course of the debug session. The function returns the value which was in effect the last halt.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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