![]() |
Petaluma (MAXREFDES30#) Code Documentation
V01.00
16-Bit, 8-Ch, +/-10V input, Simultaneous-Sampling Analog Front End
|
Go to the source code of this file.
Functions | |
| u32 | start_sampling (u32 unSampleSize, int nSampleRate, u16 *auSamplesCh0, u16 *auSamplesCh1, u16 *auSamplesCh2, u16 *auSamplesCh3, u16 *auSamplesCh4, u16 *auSamplesCh5, u16 *auSamplesCh6, u16 *auSamplesCh7) |
| Receive a block of samples at a constant rate. | |
| void | continuous_sampling (int Channel) |
| Continuously reads the ADC and display the data via the HyperTerminal. | |
Project: Petaluma (MAXREFDES30#)
Filename: maximDeviceSpecificUtilities.h
Description: This module uses the AXI_MAX11046 custom ip core Ver 1.00a to
read ADC data from the Petaluma MAXREFDES30#. These
low level functions could be cut/pasted into the user's
application as a starting point for development of an end
application.
Revision History:
09-20-13 Rev 01.00 GL Initial Release
This code follows the following naming conventions:
char chPmodValue
char (array) sPmodString[16]
float fPmodValue
int nPmodValue
int (array) anPmodValue[16]
u16 uPmodValue
u16 (array) auPmodValue[16]
u8 uchPmodValue
u8 (array) auchPmodBuffer[16]
unsigned int unPmodValue
int * punPmodValue
Definition in file maximDeviceSpecificUtilities.h.
| void continuous_sampling | ( | int | Channel | ) |
Continuously reads the ADC and display the data via the HyperTerminal.
| None |
| None |
Definition at line 185 of file maximDeviceSpecificUtilities.c.
| u32 start_sampling | ( | u32 | unSampleSize, |
| int | nSampleRate, | ||
| u16 * | auSamplesCh0, | ||
| u16 * | auSamplesCh1, | ||
| u16 * | auSamplesCh2, | ||
| u16 * | auSamplesCh3, | ||
| u16 * | auSamplesCh4, | ||
| u16 * | auSamplesCh5, | ||
| u16 * | auSamplesCh6, | ||
| u16 * | auSamplesCh7 | ||
| ) |
Receive a block of samples at a constant rate.
| [in] | unSampleSize | - Sample size |
| [in] | nSampleRate | - Sample rate |
| [out] | *auSamples | - An array |
| Number | of samples received |
Definition at line 87 of file maximDeviceSpecificUtilities.c.