- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 140kb
- Update:
- 2013-04-28
- Downloads:
- 0 Times
- Uploaded by:
- 彭琰举
Description: The AD4INPUT program reads the four input pairs AIN0-AIN1,
AIN2-AIN3, AIN4-IN5, AIN6-AIN7 of the MSC121x and outputs
the values along with other A/D relevant information via
the serial interface.
This example shows a simple method to convert the A/D HEX
values into a voltage value that is more readable. The
algorithm uses only long arithmetic and avoids any loss of
precision as it would be the case when using single precision
floating point arithmetic.
Also shown is the usage of the uVision simulator. The file
Debugger.INI defines a signal function that creates a voltage
ramp on AIN0-AIN1. Toolbox buttons are defined for easy access
to this signal function. The other analog inputs are set to
random input voltages.
To Search:
File list (Check if you may need any files):
AD4Input\ABSTRACT.txt
........\AD4Input
........\AD4Input.c
........\AD4Input.Opt
........\AD4Input.Uv2
........\Debugger.INI
........\HWCfr.a51
........\ISD51.A51
........\ISD51.H
..8Input\ABSTRACT.txt
........\AD8Input
........\AD8Input.c
........\AD8Input.Opt
........\AD8Input.Uv2
........\Debugger.INI
........\HWCfr.a51
........\ISD51.A51
........\ISD51.H
.._Interupt\ABSTRACT.txt
...........\AD_Interrupt
...........\AD_Interrupt.c
...........\AD_Interrupt.Opt
...........\AD_Interrupt.Uv2
...........\Debugger.INI
...........\HWCfr.a51
...........\ISD51.A51
...........\ISD51.H
APNT175.chm
AD4Input
AD8Input
AD_Interupt