nsdsp_debug_fetch_data_nb
nsdsp_debug_fetch_word nsdsp_debug_fetch_flash_word nsdsp_debug_fetch_float nsdsp_debug_fetch_double nsdsp_debug_fetch_stack nsdsp_debug_fetch_bp_state nsdsp_debug_write_ram nsdsp_debug_write_reg nsdsp_debug_write_float_reg nsdsp_debug_write_double_regnsdsp_debug_fetch_data_nb
This function retrieves the data requested with nsdsp_debug_read_ram function. Unlike nsdsp_debug_fetch_data, if the data is not immediately available, it fetches whatever data is available and returns.
Syntax
unsigned int nsdsp_debug_fetch_data_nb(
nsdsp_session_t session,
void* data,
unsigned int size
);
Parameters
session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function
data - the buffer to be filled in with data
size - the size of the data requested in bytes
Return
The function returns the amount of data put into the buffer. This may be less than size. If there is no data immediately available, the function returns zero.
Notes
This function is different from nsdsp_session_fetch_data_nb. Do not use nsdsp_session_fetch_data_nb when debugging.
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.