| |||||
On-Line Manuals µVision® User's Guide | Toolbox
The Toolbox contains user-configurable buttons. Click on a Toolbox button to execute the associated debug command or debug function. Toolbox buttons may be executed at any time, even while running the test program. Toolbox buttons are define the Output Window — Command page with the DEFINE BUTTON command. The general syntax is: >DEFINE BUTTON "button_label", "command"
The following examples show the define commands used to create the buttons in the Toolbox shown above: >DEFINE BUTTON "Decimal Output", "radix=0x0A">DEFINE BUTTON "Hex Output", "radix=0x10" >DEFINE BUTTON "My Status Info", "MyStatus ()" /* call debug function */ >DEFINE BUTTON "Analog0..5V", "analog0 ()" /* call signal function */ >DEFINE BUTTON "Show R15", "printf (\"R15=%04XH\\n\")" Note
You may remove a Toolbox button with the KILL BUTTON command and the button number. For example: >Kill Button 5 /* Remove Show R15 button */ Note
| ||||
| |||||