|
Sonoma (MAXREFDES14#) Code Documentation
V01.00
Isolated EMP (Energy Measurement Processor)
|
#include "xbasic_types.h"#include "stdio.h"#include "maximDeviceSpecificUtilities.h"#include "utilities.h"Go to the source code of this file.
Functions | |
| u32 | read_reg (u8 uchRegAddr) |
| Reads the value of a register and display the data via the HyperTerminal. | |
| void | write_reg (u8 uchRegAddr, u32 unRegValue) |
| Write a value to a register. | |
Project: Sonoma (MAXREFDES14#)
Filename: maximDeviceSpecificUtilities.c
Description: This module uses the Xilinx XSpi core Ver 3.03a peripheral to make
custom functions for the Sonoma MAXREFDES14#. 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:
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 maximDeviceSpecificUtilities.c.
| u32 read_reg | ( | u8 | uchRegAddr | ) |
Reads the value of a register and display the data via the HyperTerminal.
| [in] | uchRegAddr | - Register Address |
| Register | Value |
Definition at line 69 of file maximDeviceSpecificUtilities.c.
| void write_reg | ( | u8 | uchRegAddr, |
| u32 | unRegValue | ||
| ) |
Write a value to a register.
| [in] | uchRegAddr | - Register Address |
| [in] | uchRegAddr | - Register Value |
| None |
Definition at line 141 of file maximDeviceSpecificUtilities.c.