|
|||||||||||||||||||||
Technical Support On-Line Manuals µVision3 User's Guide µVision3 Overview User Interface Creating Applications Utilities Debugging Using the Debugger CPU Simulation Start Debugging Application Program Execution Debug Windows and Dialogs Breakpoints Code Coverage CPU Registers Disassembly Window Logic Analyzer Setup Setup in Detail Restrictions Memory Window Memory Map Output Window - Command Debug Commands Variables and Registers Debug Functions Execution Profiler Performance Analyzer Serial Window Symbol Window Toolbox Watch Window Expressions Constants System Variables Peripheral Variables I/O Ports Serial Ports Program Variables (Symbols) Line Numbers Bit Addresses Type Specifications Operators Differences Between µVision3 and C Expression Examples Tips and Tricks Review Peripherals and CPU Configuration Simulate I/O Ports Simulate Interrupts and Clock Inputs Simulate external I/O Devices Assign Serial I/O to a PC COM Port Check Illegal Memory Accesses Command Input from File Preset I/O Ports or Memory Contents Write Debug Output to a File Keyboard Shortcuts Debug Commands Debug Functions Simulation Flash Programming Dialogs Example Programs Command Line Appendix |
Peripheral VariablesµVision3 automatically defines a number of symbols depending on the CPU you have selected for your project. There are two types of symbols that are defined: Peripheral Registers (or special function registers SFRs) and Virtual Simulation Registers (VTREGs). Debug Functions that may be used to automate input to peripherals are provided under Simulation Script Templates. Peripheral Registers (SFRs)µVision3 defines symbols for the peripheral registers. The peripheral register symbols available depend on the microcontroller you have selected. The peripheral register symbols and have an associated address and may be used in expressions. Virtual Simulation Registers (VTREGs)Virtual Simulation registers, or VTREGs, let you use the CPU's simulated pins for input and output. VTREGs are not public symbols nor do they reside in a memory space of the CPU. They may be used in expressions, but their values and utilization are CPU dependent. VTREGs provide a way to specify signals coming into the CPU from a simulated piece of hardware. You can list these symbols with the DIR VTREG command. The following table describes the VTREG symbols. The VTREG symbols that are actually available depend on the selected CPU.
Notes
| ||||||||||||||||||||
|
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.