 |
µVision User's Guide legacy
|
 |
|
|
|
|
Measure - Project File
The project file for the MEASURE sample program is called
Measure.UV2. To load this project file, use Open
Project from the Project menu and select
Measure.UV2 in the folder
...\ARM\...\Examples\Measure.
The Files page in the Project Workspace shows the source files
that compose the MEASURE project. The three application related
source files that are located in the Source Files group. The
function of the source files is described below. To open a source
file, double-click on the filename.

-
Measure.C: contains the main C function for the
measurement system and the interrupt routine for timer 0. The main
function initializes all peripherals of the ARM and performs
command processing for the system. The timer interrupt routine,
timer0, manages the real-time clock and the measurement sampling of
the system.
-
MCommand.C: processes the display, time, and interval
commands. These functions are called from main. The display command
lists the analog values in floating-point format to give a voltage
between 0.00V and 5.00V.
-
GetLine.C: contains the command-line editor for
characters received from the serial port.
-
IRQ.S: is an interface module for the interrupt service
routine.
|
|
|