X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/eb8a708b5379755cbcdac900eb32f3c484bde58c..3a79548dc2bfd08f13a387b5533d8598ba0078d7:/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h diff --git a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h index 0a4a629a5..bd9aee689 100644 --- a/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h +++ b/Demos/Device/Incomplete/TestAndMeasurement/TestAndMeasurement.h @@ -71,6 +71,32 @@ #define TMC_REQUEST_STATUS_NOTRANSFER 0x81 #define TMC_REQUEST_STATUS_NOCHECKINITIATED 0x82 #define TMC_REQUEST_STATUS_CHECKINPROGRESS 0x83 + + /* Type Defines */ + typedef struct + { + uint8_t Status; + uint8_t _RESERVED1; + + uint16_t TMCVersion; + + struct + { + unsigned char ListenOnly : 1; + unsigned char TalkOnly : 1; + unsigned char PulseIndicateSupported : 1; + unsigned char _RESERVED : 5; + } Interface; + + struct + { + unsigned char SupportsAbortINOnMatch : 1; + unsigned char _RESERVED : 7; + } Device; + + uint8_t _RESERVED2[6]; + uint8_t _RESERVED3[12]; + } TMC_Capabilities_t; /* Function Prototypes: */ void SetupHardware(void);