|
|||||||||||
Technical Support On-Line Manuals µVision3 User's Guide µVision3 Overview User Interface Creating Applications Utilities Debugging Debug Commands Debug Functions Creating Functions Invoking Functions Predefined Functions __acos __asin __atan __cos __exp __log __log10 __sin __sqrt __tan _RBYTE _RDOUBLE _RDWORD _RFLOAT _RWORD _sleep_ _TaskRunning_ _WBYTE _WDOUBLE _WDWORD _WFLOAT _WWORD exec execf (Cortex-M) F32ToRawF16 F32ToRawF32 F64ToRawF64 getdbl getint getlong memset printf rand RawF16ToF32 RawF32ToF32 RawF64ToF64 rwatch swatch twatch wwatch User Functions Signal Functions Differences Between µVision3 and C Differences Between µVision3 and dScope Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
Creating FunctionsµVision3 has a built-in debug function editor which opens with Debug — Function Editor. When you start the function editor, the editor asks for a file name or opens the file specified under Options for Target — Debug — Initialization File. The debug function editor works in the same way as the build-in µVision3 editor and allows you to enter and compile debug functions.
Refer to the Function Editor dialog help for more information on the dialog items. Once you have created a file with µVision3 debug functions, you may use the INCLUDE command to read and process the contents of the text file. For example, if you type the following command in the command window, µVision3 reads and interprets the contents of MYFUNCS.INI. >INCLUDE MYFUNCS.INI MYFUNCS.INI may contain debug commands and function definitions. You may enter this file also under Options for Target — Debug — Initialization File. Every time you start the µVision3 debugger, the contents of MYFUNCS.INI will be processed. Functions that are no longer needed may be deleted using the KILL command. | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.