WPILib 2012
WPILibRoboticsLibraryforFRC
|
00001 // Copyright (c) National Instruments 2008. All Rights Reserved. 00002 00003 #ifndef __tSystemInterface_h__ 00004 #define __tSystemInterface_h__ 00005 00006 namespace nFPGA 00007 { 00008 00009 class tSystemInterface 00010 { 00011 public: 00012 tSystemInterface(){} 00013 virtual ~tSystemInterface(){} 00014 00015 virtual const uint16_t getExpectedFPGAVersion()=0; 00016 virtual const uint32_t getExpectedFPGARevision()=0; 00017 virtual const uint32_t * const getExpectedFPGASignature()=0; 00018 virtual void getHardwareFpgaSignature(uint32_t *guid_ptr, tRioStatusCode *status)=0; 00019 virtual uint32_t getLVHandle(tRioStatusCode *status)=0; 00020 virtual uint32_t getHandle()=0; 00021 }; 00022 00023 } 00024 00025 #endif // __tSystemInterface_h__ 00026