80 VMIVME-7805/VME-7805RC Hardware Reference Manual
E • Appendix E: Sample C Software
This appendix provides listings of a library of sample code that the programmer
may utilize to build applications. These files are provided in the directory
“\sample code” on CD 320-500077-000, labeled “Windows Drivers”, included
with the VMIVME-7805/VME-7805RC.
These files are provided without warranty. All source code is ©2009, GE
.
Directory\VME
This directory contains code used to setup the Universe IIB chip with one PCI-to-
VME VMIVME-7805/VME-7805RC window and enable Universe IIB registers to
be accessed from the VME to allow mailbox access.
Directory\fpga
This directory contains code used to test the functions of the GE designed FPGA
such as timers, SRAM controller and Watchdog Timer.
Directory\i2c
This directory contains code that demonstrates how to send data using the I
2
C
controller in the super I/O component, and also how to manipulate the I
2
C mux
which is used to direct the super I/O’s I
2
C back to the VME backplane.
Directory\include
This directory contains common files required to compile several of the sample
code applications.
Directory\support
This directory contains memory and PCI access routines used by many of the
sample code applications.
Directory\vlm
This directory contains code that demonstrates how to read the voltages from the
analog inputs of the super I/O component on the VMIVME-7805/VME-7805RC.