mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Updates image to 2018 v10 image (#713)
This commit is contained in:
committed by
Peter Johnson
parent
f4dce9e608
commit
6e9d1f55c6
@@ -1,15 +1,15 @@
|
||||
// Copyright (c) National Instruments 2008. All Rights Reserved.
|
||||
// Do Not Edit... this file is generated!
|
||||
|
||||
#ifndef __nFRC_2018_18_0_4_SPI_h__
|
||||
#define __nFRC_2018_18_0_4_SPI_h__
|
||||
#ifndef __nFRC_2018_18_0_5_SPI_h__
|
||||
#define __nFRC_2018_18_0_5_SPI_h__
|
||||
|
||||
#include "../tSystem.h"
|
||||
#include "../tSystemInterface.h"
|
||||
|
||||
namespace nFPGA
|
||||
{
|
||||
namespace nFRC_2018_18_0_4
|
||||
namespace nFRC_2018_18_0_5
|
||||
{
|
||||
|
||||
class tSPI
|
||||
@@ -35,7 +35,9 @@ public:
|
||||
unsigned ExternalClockSource_AnalogTrigger : 1;
|
||||
unsigned RisingEdge : 1;
|
||||
unsigned FallingEdge : 1;
|
||||
unsigned ExternalClock : 1;
|
||||
#else
|
||||
unsigned ExternalClock : 1;
|
||||
unsigned FallingEdge : 1;
|
||||
unsigned RisingEdge : 1;
|
||||
unsigned ExternalClockSource_AnalogTrigger : 1;
|
||||
@@ -44,7 +46,7 @@ public:
|
||||
#endif
|
||||
};
|
||||
struct{
|
||||
unsigned value : 8;
|
||||
unsigned value : 9;
|
||||
};
|
||||
} tAutoTriggerConfig;
|
||||
typedef
|
||||
@@ -89,12 +91,14 @@ public:
|
||||
virtual void writeAutoTriggerConfig_ExternalClockSource_AnalogTrigger(bool value, tRioStatusCode *status) = 0;
|
||||
virtual void writeAutoTriggerConfig_RisingEdge(bool value, tRioStatusCode *status) = 0;
|
||||
virtual void writeAutoTriggerConfig_FallingEdge(bool value, tRioStatusCode *status) = 0;
|
||||
virtual void writeAutoTriggerConfig_ExternalClock(bool value, tRioStatusCode *status) = 0;
|
||||
virtual tAutoTriggerConfig readAutoTriggerConfig(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readAutoTriggerConfig_ExternalClockSource_Channel(tRioStatusCode *status) = 0;
|
||||
virtual unsigned char readAutoTriggerConfig_ExternalClockSource_Module(tRioStatusCode *status) = 0;
|
||||
virtual bool readAutoTriggerConfig_ExternalClockSource_AnalogTrigger(tRioStatusCode *status) = 0;
|
||||
virtual bool readAutoTriggerConfig_RisingEdge(tRioStatusCode *status) = 0;
|
||||
virtual bool readAutoTriggerConfig_FallingEdge(tRioStatusCode *status) = 0;
|
||||
virtual bool readAutoTriggerConfig_ExternalClock(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
@@ -105,13 +109,6 @@ public:
|
||||
virtual unsigned char readAutoChipSelect(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tAutoForceGo_IfaceConstants;
|
||||
|
||||
virtual void strobeAutoForceGo(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tDebugRevision_IfaceConstants;
|
||||
@@ -156,6 +153,14 @@ public:
|
||||
virtual unsigned char readDebugSubstate(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tAutoRate_IfaceConstants;
|
||||
|
||||
virtual void writeAutoRate(unsigned int value, tRioStatusCode *status) = 0;
|
||||
virtual unsigned int readAutoRate(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tEnableDIO_IfaceConstants;
|
||||
@@ -176,6 +181,13 @@ public:
|
||||
virtual unsigned char readChipSelectActiveHigh_MXP(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
} tAutoForceOne_IfaceConstants;
|
||||
|
||||
virtual void strobeAutoForceOne(tRioStatusCode *status) = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
typedef enum
|
||||
@@ -196,4 +208,4 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
#endif // __nFRC_2018_18_0_4_SPI_h__
|
||||
#endif // __nFRC_2018_18_0_5_SPI_h__
|
||||
|
||||
Reference in New Issue
Block a user