Cart Contact NSDSP Home

nsdsp_debug_get_app_word

This function retrieves data sent to the debugger from the application being debugged.

Syntax

unsigned int nsdsp_debug_get_app_word(
        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 the data word received from the application.

Notes

Not all target devices are capable of Application IO. You can use mcu_debug_cap function to find out if your device has the capability.

Before using this function, you must call nsdsp_debug_check_for_app to find out if the data is available. Do not call this function if there is no data.

NSDSP Interface library has an internal buffer to collect application data. If the application sends too much data, the buffer may overflow and some data will be lost. To avoid this, check for application data periodically.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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