aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-26 04:26:47 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-26 04:26:47 +0000
commit89a32baf585c8881fa972a2cb1963fb67e70d642 (patch)
treeac28f6a12d87c91f2d243bbaadb1dc7ef8e397cc /Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
parent4c9425c0d52fbfe45f6697d9124b022842049af6 (diff)
downloadlufa-89a32baf585c8881fa972a2cb1963fb67e70d642.tar.gz
lufa-89a32baf585c8881fa972a2cb1963fb67e70d642.tar.bz2
lufa-89a32baf585c8881fa972a2cb1963fb67e70d642.zip
Add stream callback flags and class specific control request handler code to the incomplete Test and Measurement Class device demo.
Change over the keyboard demo's manufacturer name back to the primary author of the demo.
Diffstat (limited to 'Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h')
-rw-r--r--Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
index bd9aee689..53f65a1bd 100644
--- a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
+++ b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h
@@ -65,12 +65,12 @@
#define Req_GetCapabilities 0x07
#define Req_IndicatorPulse 0x40
- #define TMC_REQUEST_STATUS_SUCCESS 0x01
- #define TMC_REQUEST_STATUS_PENDING 0x02
- #define TMC_REQUEST_STATUS_FAILED 0x80
- #define TMC_REQUEST_STATUS_NOTRANSFER 0x81
- #define TMC_REQUEST_STATUS_NOCHECKINITIATED 0x82
- #define TMC_REQUEST_STATUS_CHECKINPROGRESS 0x83
+ #define TMC_REQUEST_STATUS_SUCCESS 0x01
+ #define TMC_REQUEST_STATUS_PENDING 0x02
+ #define TMC_REQUEST_STATUS_FAILED 0x80
+ #define TMC_REQUEST_STATUS_TRANSFER_NOT_IN_PROGRESS 0x81
+ #define TMC_REQUEST_STATUS_SPLIT_NOT_IN_PROGRESS 0x82
+ #define TMC_REQUEST_STATUS_SPLIT_IN_PROGRESS 0x83
/* Type Defines */
typedef struct
@@ -107,4 +107,7 @@
void EVENT_USB_Device_ConfigurationChanged(void);
void EVENT_USB_Device_UnhandledControlRequest(void);
+ uint8_t StreamCallback_AbortINOnRequest(void);
+ uint8_t StreamCallback_AbortOUTOnRequest(void);
+
#endif