mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Updates to the 2017 v7 image (#329)
This commit is contained in:
committed by
Peter Johnson
parent
8694a020ac
commit
e1bb05bc52
@@ -1,69 +1,69 @@
|
||||
// Copyright (c) National Instruments 2008. All Rights Reserved.
|
||||
// Do Not Edit... this file is generated!
|
||||
|
||||
#ifndef __nFRC_2017_17_0_2_Relay_h__
|
||||
#define __nFRC_2017_17_0_2_Relay_h__
|
||||
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
namespace nFRC_2017_17_0_2
|
||||
{
|
||||
|
||||
class tRelay
|
||||
{
|
||||
public:
|
||||
tRelay(){}
|
||||
virtual ~tRelay(){}
|
||||
|
||||
virtual tSystemInterface* getSystemInterface() = 0;
|
||||
static tRelay* create(tRioStatusCode *status);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
kNumSystems = 1,
|
||||
} tIfaceConstants;
|
||||
|
||||
typedef
|
||||
union{
|
||||
struct{
|
||||
#ifdef __vxworks
|
||||
unsigned Forward : 4;
|
||||
unsigned Reverse : 4;
|
||||
#else
|
||||
unsigned Reverse : 4;
|
||||
unsigned Forward : 4;
|
||||
#endif
|
||||
};
|
||||
struct{
|
||||
unsigned value : 8;
|
||||
};
|
||||
} tValue;
|
||||
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tValue_IfaceConstants;
|
||||
|
||||
virtual void writeValue(tValue value, tRioStatusCode *status) = 0;
|
||||
virtual void writeValue_Forward(unsigned char value, tRioStatusCode *status) = 0;
|
||||
virtual void writeValue_Reverse(unsigned char value, tRioStatusCode *status) = 0;
|
||||
virtual tValue readValue(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readValue_Forward(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readValue_Reverse(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
tRelay(const tRelay&);
|
||||
void operator=(const tRelay&);
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // __nFRC_2017_17_0_2_Relay_h__
|
||||
// Copyright (c) National Instruments 2008. All Rights Reserved.
|
||||
// Do Not Edit... this file is generated!
|
||||
|
||||
#ifndef __nFRC_2017_17_0_2_Relay_h__
|
||||
#define __nFRC_2017_17_0_2_Relay_h__
|
||||
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
namespace nFRC_2017_17_0_2
|
||||
{
|
||||
|
||||
class tRelay
|
||||
{
|
||||
public:
|
||||
tRelay(){}
|
||||
virtual ~tRelay(){}
|
||||
|
||||
virtual tSystemInterface* getSystemInterface() = 0;
|
||||
static tRelay* create(tRioStatusCode *status);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
kNumSystems = 1,
|
||||
} tIfaceConstants;
|
||||
|
||||
typedef
|
||||
union{
|
||||
struct{
|
||||
#ifdef __vxworks
|
||||
unsigned Forward : 4;
|
||||
unsigned Reverse : 4;
|
||||
#else
|
||||
unsigned Reverse : 4;
|
||||
unsigned Forward : 4;
|
||||
#endif
|
||||
};
|
||||
struct{
|
||||
unsigned value : 8;
|
||||
};
|
||||
} tValue;
|
||||
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tValue_IfaceConstants;
|
||||
|
||||
virtual void writeValue(tValue value, tRioStatusCode *status) = 0;
|
||||
virtual void writeValue_Forward(unsigned char value, tRioStatusCode *status) = 0;
|
||||
virtual void writeValue_Reverse(unsigned char value, tRioStatusCode *status) = 0;
|
||||
virtual tValue readValue(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readValue_Forward(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readValue_Reverse(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
tRelay(const tRelay&);
|
||||
void operator=(const tRelay&);
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif // __nFRC_2017_17_0_2_Relay_h__
|
||||
|
||||
Reference in New Issue
Block a user