Sonoma (MAXREFDES14#) Code Documentation  V01.00
Isolated EMP (Energy Measurement Processor)
 All Data Structures Files Functions Variables Macros Pages
MAXREFDES14.h File Reference
#include "xparameters.h"
#include "stdio.h"
#include "xgpio.h"
#include "xgpio_l.h"
#include "utilities.h"
#include <string.h>
#include "platform.h"
#include "math.h"

Go to the source code of this file.

Data Structures

struct  maximDateTime
 < Structure to hold time, date, day of week More...
 
struct  maximOLEDDisplay
 

Macros

#define DEFAULT_HYPERTERMINAL_UART_ID   XPAR_PS7_UART_1_DEVICE_ID
 macro used to abstract Physical Port of Hyperterminal UART
 
#define DEFAULT_HYPERTERMINAL_UART_ADDRESS   XPAR_PS7_UART_1_BASEADDR
 
#define ABOUT_ONE_SECOND   74067512
 approx 1 second delay when used as argument with function delay(numberCyclesToDelay)
 
#define INPUT_STRING_MAX_SIZE   16
 

Variables

XGpio g_xGpioLed
 
u8 g_uchAtoDConverterChannel
 
u32 g_unSampleSize
 
int g_nSampleRate
 
char g_sInputString [INPUT_STRING_MAX_SIZE]
 
struct maximOLEDDisplay g_structureOLED
 
char g_tempString [32]
 

Detailed Description


      Project: Sonoma (MAXREFDES14#)
     Filename: MAXREFDES14.h
  Description: This module contains the Main application for the
               Digilent ZedBoard implementation of the
               MAXREFDES14 example program.

Revision History:
05-31-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 MAXREFDES14.h.

Macro Definition Documentation

#define ABOUT_ONE_SECOND   74067512

approx 1 second delay when used as argument with function delay(numberCyclesToDelay)

Definition at line 79 of file MAXREFDES14.h.

#define DEFAULT_HYPERTERMINAL_UART_ADDRESS   XPAR_PS7_UART_1_BASEADDR

Definition at line 77 of file MAXREFDES14.h.

#define DEFAULT_HYPERTERMINAL_UART_ID   XPAR_PS7_UART_1_DEVICE_ID

macro used to abstract Physical Port of Hyperterminal UART

Definition at line 76 of file MAXREFDES14.h.

#define INPUT_STRING_MAX_SIZE   16

Definition at line 83 of file MAXREFDES14.h.

Variable Documentation

int g_nSampleRate
char g_sInputString[INPUT_STRING_MAX_SIZE]

Definition at line 90 of file MAXREFDES14.c.

struct maximOLEDDisplay g_structureOLED

Definition at line 92 of file MAXREFDES14.c.

char g_tempString[32]
u8 g_uchAtoDConverterChannel
u32 g_unSampleSize
XGpio g_xGpioLed

Definition at line 91 of file MAXREFDES14.c.