MAXREFDES71# Code Documentation
V01.00
MAXREFDES71# 2-Channel Analog Input/Analog Output
|
#include "axi_millbrae.h"
Go to the source code of this file.
Functions | |
void | AXI_MILLBRAE_Config_ADC (u32 BaseAddress, u32 Value) |
Config ADC. | |
void | AXI_MILLBRAE_Config_DAC (u32 BaseAddress, u32 Value) |
Config DAC. | |
void | AXI_MILLBRAE_Start_Conversion (u32 BaseAddress) |
Start ADC Conversion. | |
void | AXI_MILLBRAE_Stop_Operation (u32 BaseAddress) |
Stop operation. | |
void | AXI_MILLBRAE_Start_Replication (u32 BaseAddress) |
Start signal replication. | |
void | AXI_MILLBRAE_Write_Timer_Reg (u32 BaseAddress, u32 Value) |
Write Value to the Timer register. | |
void | AXI_MILLBRAE_Interrupt_Enable (u32 BaseAddress) |
Enable the interrupt. | |
void | AXI_MILLBRAE_Interrupt_Disable (u32 BaseAddress) |
Disable the interrupt. | |
u32 | AXI_MILLBRAE_Read_Data (u32 BaseAddress, u8 Channel) |
Read sampled data. | |
u32 | AXI_MILLBRAE_Read_Interrupt_Status (u32 BaseAddress) |
Read interrupt status. | |
void | AXI_MILLBRAE_Single_Convert (u32 BaseAddress, u8 Channel, u16 *uSample) |
Read one ADC sample. | |
Project: MAXREFDES71# Filename: axi_millbrae.c Description: This file contains the software API definition of the axi_millbrae custom IP core.
Revision History:
12-17-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
Project: MAXREFDES61# Filename: axi_millbrae.h Description: This header file contains the software API prototypes of the axi_millbrae custom IP core.
Revision History:
12-17-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_millbrae.c.
void AXI_MILLBRAE_Config_ADC | ( | u32 | BaseAddress, |
u32 | Value | ||
) |
Config ADC.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 66 of file axi_millbrae.c.
void AXI_MILLBRAE_Config_DAC | ( | u32 | BaseAddress, |
u32 | Value | ||
) |
Config DAC.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 81 of file axi_millbrae.c.
void AXI_MILLBRAE_Interrupt_Disable | ( | u32 | BaseAddress | ) |
Disable the interrupt.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 183 of file axi_millbrae.c.
void AXI_MILLBRAE_Interrupt_Enable | ( | u32 | BaseAddress | ) |
Enable the interrupt.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 166 of file axi_millbrae.c.
u32 AXI_MILLBRAE_Read_Data | ( | u32 | BaseAddress, |
u8 | Channel | ||
) |
Read sampled data.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
ADC | sampled data |
Definition at line 198 of file axi_millbrae.c.
u32 AXI_MILLBRAE_Read_Interrupt_Status | ( | u32 | BaseAddress | ) |
Read interrupt status.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
Interrupt | status |
Definition at line 214 of file axi_millbrae.c.
void AXI_MILLBRAE_Single_Convert | ( | u32 | BaseAddress, |
u8 | Channel, | ||
u16 * | uSample | ||
) |
Read one ADC sample.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
One | ADC sample |
Definition at line 231 of file axi_millbrae.c.
void AXI_MILLBRAE_Start_Conversion | ( | u32 | BaseAddress | ) |
Start ADC Conversion.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 96 of file axi_millbrae.c.
void AXI_MILLBRAE_Start_Replication | ( | u32 | BaseAddress | ) |
Start signal replication.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 129 of file axi_millbrae.c.
void AXI_MILLBRAE_Stop_Operation | ( | u32 | BaseAddress | ) |
Stop operation.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
None |
Definition at line 114 of file axi_millbrae.c.
void AXI_MILLBRAE_Write_Timer_Reg | ( | u32 | BaseAddress, |
u32 | Value | ||
) |
Write Value to the Timer register.
[in] | BaseAddress | - Base address of the AXI_MILLBRAE IP core |
[in] | Value | - a value to be written to the timer register |
None |
Definition at line 149 of file axi_millbrae.c.