![]() |
Petaluma (MAXREFDES30#) Code Documentation
V01.00
16-Bit, 8-Ch, +/-10V input, Simultaneous-Sampling Analog Front End
|
#include "axi_max11046.h"Go to the source code of this file.
Functions | |
| void | AXI_MAX11046_Config_ADC (u32 BaseAddress, u32 Value) |
| Config ADC. | |
| void | AXI_MAX11046_Start_Conversion (u32 BaseAddress) |
| Start ADC Conversion. | |
| void | AXI_MAX11046_Stop_Conversion (u32 BaseAddress) |
| Stop ADC Conversion. | |
| void | AXI_MAX11046_Write_Delay_Reg (u32 BaseAddress, u32 Value) |
| Write Value to the delay register. | |
| void | AXI_MAX11046_Interrupt_Enable (u32 BaseAddress) |
| Enable the interrupt. | |
| void | AXI_MAX11046_Interrupt_Disable (u32 BaseAddress) |
| Disable the interrupt. | |
| u32 | AXI_MAX11046_Read_Data (u32 BaseAddress, u8 Channel) |
| Read sampled data. | |
| u32 | AXI_MAX11046_Read_Interrupt_Status (u32 BaseAddress) |
| Read interrupt status. | |
| void | AXI_MAX11046_Single_Convert (u32 BaseAddress, u8 Channel, u16 *uSample) |
| Read one ADC sample. | |
Project: Petaluma (MAXREFDES30#)
Filename: axi_max11046.c
Description: This file contains the software API definition of the
axi_max11046 custom IP core.
Revision History:
9-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 axi_max11046.c.
| void AXI_MAX11046_Config_ADC | ( | u32 | BaseAddress, |
| u32 | Value | ||
| ) |
Config ADC.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| None |
Definition at line 66 of file axi_max11046.c.
| void AXI_MAX11046_Interrupt_Disable | ( | u32 | BaseAddress | ) |
Disable the interrupt.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| None |
Definition at line 146 of file axi_max11046.c.
| void AXI_MAX11046_Interrupt_Enable | ( | u32 | BaseAddress | ) |
Enable the interrupt.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| None |
Definition at line 129 of file axi_max11046.c.
| u32 AXI_MAX11046_Read_Data | ( | u32 | BaseAddress, |
| u8 | Channel | ||
| ) |
Read sampled data.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| ADC | sampled data |
Definition at line 161 of file axi_max11046.c.
| u32 AXI_MAX11046_Read_Interrupt_Status | ( | u32 | BaseAddress | ) |
Read interrupt status.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| Interrupt | status |
Definition at line 177 of file axi_max11046.c.
| void AXI_MAX11046_Single_Convert | ( | u32 | BaseAddress, |
| u8 | Channel, | ||
| u16 * | uSample | ||
| ) |
Read one ADC sample.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| One | ADC sample |
Definition at line 194 of file axi_max11046.c.
| void AXI_MAX11046_Start_Conversion | ( | u32 | BaseAddress | ) |
Start ADC Conversion.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| None |
Definition at line 81 of file axi_max11046.c.
| void AXI_MAX11046_Stop_Conversion | ( | u32 | BaseAddress | ) |
Stop ADC Conversion.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| None |
Definition at line 96 of file axi_max11046.c.
| void AXI_MAX11046_Write_Delay_Reg | ( | u32 | BaseAddress, |
| u32 | Value | ||
| ) |
Write Value to the delay register.
| [in] | BaseAddress | - Base address of the AXI_MAX11046 IP core |
| [in] | Value | - a value to be written to the delay register |
| None |
Definition at line 111 of file axi_max11046.c.