Carmel (MAXREFDES18#) Code Documentation  V01.00
High Accuracy Analog Current/Voltage Output
 All Files Functions Variables Macros Pages
MAXREFDES18.c File Reference
#include <stdio.h>
#include "platform.h"
#include "menu.h"
#include "utilities.h"
#include "MAXREFDES18.h"

Go to the source code of this file.

Macros

#define MAJOR_REVISION   1
 
#define MINOR_REVISION   0
 

Functions

int main ()
 Main() function for MAXREFDES18.
 

Variables

char g_sInputString [INPUT_STRING_MAX_SIZE]
 
XGpio g_xGpioPmodPortA
 
XGpio g_xGpioPmodPortB
 
XGpio g_gpButtons
 
XGpio g_xGpioLed
 
u8 g_PmodPortMuxSettings =0
 
u32 g_unActivePeripheralAddressSPI =XPAR_SPI_0_BASEADDR
 

Detailed Description


      Project: Carmel (MAXREFDES18#)
     Filename: MAXREFDES18.c
  Description: This module contains the Main application for the
               Avnet LX9 Board implementation of the MAXREFDES18
               example program.

Revision History:
08-19-13 Rev 01.00 MG 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 MAXREFDES18.c.

Macro Definition Documentation

#define MAJOR_REVISION   1

Definition at line 82 of file MAXREFDES18.c.

#define MINOR_REVISION   0

Definition at line 83 of file MAXREFDES18.c.

Function Documentation

int main ( )

Main() function for MAXREFDES18.

Details
This function sets up and initializes the FPGA and hardware, displays the menu via Hyperterminal (or equivalent Terminal program i.e. Teraterm).
Parameters
None
Return values
AlwaysTRUE

Definition at line 96 of file MAXREFDES18.c.

Variable Documentation

XGpio g_gpButtons

Definition at line 90 of file MAXREFDES18.c.

u8 g_PmodPortMuxSettings =0

Definition at line 92 of file MAXREFDES18.c.

char g_sInputString[INPUT_STRING_MAX_SIZE]

Definition at line 86 of file MAXREFDES18.c.

u32 g_unActivePeripheralAddressSPI =XPAR_SPI_0_BASEADDR

Definition at line 94 of file MAXREFDES18.c.

XGpio g_xGpioLed

Definition at line 91 of file MAXREFDES18.c.

XGpio g_xGpioPmodPortA

Definition at line 87 of file MAXREFDES18.c.

XGpio g_xGpioPmodPortB

Definition at line 88 of file MAXREFDES18.c.