请问System_abort这个功能是干嘛的?我用的XDS100V3仿真器,能用这个来看输出吗?
if (uart == NULL) {
System_abort("Error opening the UART");
}
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问System_abort这个功能是干嘛的?我用的XDS100V3仿真器,能用这个来看输出吗?
if (uart == NULL) {
System_abort("Error opening the UART");
}
Void System_abort(CString str);
ARGUMENTS
str — abort message (not a format string)
DETAILS
This is called when an executable abnormally terminates. The System gate is entered, the SupportProxy's abort function is called and then abortFxn is called. No exit functions bound via System_atexit() or the ANSI C Standard Library atexit() functions are executed.
http://rtsc.eclipse.org/cdoc-tip/xdc/runtime/System.html#abort